Git Product home page Git Product logo

wilderness's Introduction

Wilderness

A PocketMine-MP plugin that lets players teleport to a random spot in the wilderness by executing the command /wild!

wilderness's People

Contributors

muqsit avatar poggit-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

wilderness's Issues

SpecificWorldSelector: Send error message instead of throwing exception when attempting to teleport to an unloaded world

if running /wild for specific world

[00:58:51] [Server thread/CRITICAL]: InvalidArgumentException: "Cannot teleport player to unloaded world facworld" (EXCEPTION) in "plugins/Wilderness.phar/src/muqsit/wilderness/behaviour/defaults/SpecificWorldSelector" at line 32
[00:58:51] [Server thread/CRITICAL]: #0 plugins/Wilderness.phar/src/muqsit/wilderness/behaviour/DefaultWildernessBehaviour(48): muqsit\wilderness\behaviour\defaults\SpecificWorldSelector->select(object kielking\ApolloMCPECore\SubPlugins\NameSpaceRemover\CustomPlayer)
[00:58:51] [Server thread/CRITICAL]: #1 plugins/Wilderness.phar/src/muqsit/wilderness/command/BehaviourCommandExecutor(90): muqsit\wilderness\behaviour\DefaultWildernessBehaviour->generatePosition(object kielking\ApolloMCPECore\SubPlugins\NameSpaceRemover\CustomPlayer, object Closure)
[00:58:51] [Server thread/CRITICAL]: #2 src/pocketmine/command/PluginCommand(54): muqsit\wilderness\command\BehaviourCommandExecutor->onCommand(object kielking\ApolloMCPECore\SubPlugins\NameSpaceRemover\CustomPlayer, object pocketmine\command\PluginCommand, string[4] wild, array[0])
[00:58:51] [Server thread/CRITICAL]: #3 src/pocketmine/command/SimpleCommandMap(248): pocketmine\command\PluginCommand->execute(object kielking\ApolloMCPECore\SubPlugins\NameSpaceRemover\CustomPlayer, string[4] wild, array[0])
[00:58:51] [Server thread/CRITICAL]: #4 src/pocketmine/Server(1811): pocketmine\command\SimpleCommandMap->dispatch(object kielking\ApolloMCPECore\SubPlugins\NameSpaceRemover\CustomPlayer, string[4] wild)
[00:58:51] [Server thread/CRITICAL]: #5 src/pocketmine/Player(2310): pocketmine\Server->dispatchCommand(object kielking\ApolloMCPECore\SubPlugins\NameSpaceRemover\CustomPlayer, string[4] wild)
[00:58:51] [Server thread/CRITICAL]: #6 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(244): pocketmine\Player->chat(string[5] /wild)
[00:58:51] [Server thread/CRITICAL]: #7 src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket)
[00:58:51] [Server thread/CRITICAL]: #8 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[00:58:51] [Server thread/CRITICAL]: #9 src/pocketmine/network/mcpe/protocol/BatchPacket(127): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket)
[00:58:51] [Server thread/CRITICAL]: #10 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[00:58:51] [Server thread/CRITICAL]: #11 src/pocketmine/Player(3247): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[00:58:51] [Server thread/CRITICAL]: #12 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[00:58:51] [Server thread/CRITICAL]: #13 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[21] 174.112.105.100 54992, object raklib\protocol\EncapsulatedPacket, integer 0)
[00:58:51] [Server thread/CRITICAL]: #14 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
[00:58:51] [Server thread/CRITICAL]: #15 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
[00:58:51] [Server thread/CRITICAL]: #16 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}()
[00:58:51] [Server thread/CRITICAL]: #17 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
[00:58:51] [Server thread/CRITICAL]: #18 src/pocketmine/Server(2157): pocketmine\snooze\SleeperHandler->sleepUntil(double 1597021131.0239)
[00:58:51] [Server thread/CRITICAL]: #19 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
[00:58:51] [Server thread/CRITICAL]: #20 src/pocketmine/Server(1588): pocketmine\Server->start()
[00:58:51] [Server thread/CRITICAL]: #21 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
[00:58:51] [Server thread/CRITICAL]: #22 src/pocketmine/PocketMine(304): pocketmine\server()
[00:58:51] [Server thread/CRITICAL]: #23 (11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Suggestions

● Add custom cooldown before teleportation (You'll be teleported in X sec)
● If player moves teleportation will be cancelled (Please don't move when teleporting!)
● Cooldown before another command execution (Please wait X sec before using /wild again!)
● Custom aliases ('/rtp', '/rt', ...)
● World blacklist

Update Wilderness

Ill give this a 1 star because it doesn't support api5 update this and ill 5stars it

unloaded world not loading

when you do /wild
[03:31:10] [Server thread/CRITICAL]: ErrorException: "yaml_parse(): parsing error encountered during parsing: did not find expected key (line 22, column 5), context while parsing a block mapping (line 18, column 3)" (EXCEPTION) in "pmsrc/src/pocketmine/utils/Config" at line 189
[03:31:10] [Server thread/CRITICAL]: #0 (): pocketmine\utils\Utils::errorExceptionHandler(integer 2, string[160] yaml_parse(): parsing error encountered during parsing: did not find expected ke, string[73] phar:///home/container/PocketMine-MP.phar/src/pocketmine/utils/Config.php, integer 189)
[03:31:10] [Server thread/CRITICAL]: #1 pmsrc/src/pocketmine/utils/Config(189): yaml_parse(string[2422] # Default behaviour file for Wilderness (wilderness:default)..# Sets coordinate )
[03:31:10] [Server thread/CRITICAL]: #2 pmsrc/src/pocketmine/utils/Config(122): pocketmine\utils\Config->load(string[73] /home/container/plugin_data/Wilderness//behaviours/wilderness-default.yml, integer 2, array[0])
[03:31:10] [Server thread/CRITICAL]: #3 plugins/Wilderness.phar/src/muqsit/wilderness/behaviour/ConfigurableBehaviour(32): pocketmine\utils\Config->__construct(string[73] /home/container/plugin_data/Wilderness//behaviours/wilderness-default.yml, integer 2)
[03:31:10] [Server thread/CRITICAL]: #4 plugins/Wilderness.phar/src/muqsit/wilderness/behaviour/DefaultWildernessBehaviour(34): muqsit\wilderness\behaviour\ConfigurableBehaviour->getConfig()
[03:31:10] [Server thread/CRITICAL]: #5 plugins/Wilderness.phar/src/muqsit/wilderness/Loader(89): muqsit\wilderness\behaviour\DefaultWildernessBehaviour->select(object muqsit\wilderness\Loader)
[03:31:10] [Server thread/CRITICAL]: #6 plugins/Wilderness.phar/src/muqsit/wilderness/Loader(77): muqsit\wilderness\Loader->setBehaviour(object muqsit\wilderness\behaviour\DefaultWildernessBehaviour)
[03:31:10] [Server thread/CRITICAL]: #7 pmsrc/src/pocketmine/plugin/PluginBase(116): muqsit\wilderness\Loader->onEnable()
[03:31:10] [Server thread/CRITICAL]: #8 pmsrc/src/pocketmine/plugin/PluginManager(552): pocketmine\plugin\PluginBase->setEnabled(boolean 1)
[03:31:10] [Server thread/CRITICAL]: #9 pmsrc/src/pocketmine/Server(1785): pocketmine\plugin\PluginManager->enablePlugin(object muqsit\wilderness\Loader)
[03:31:10] [Server thread/CRITICAL]: #10 pmsrc/src/pocketmine/Server(1771): pocketmine\Server->enablePlugin(object muqsit\wilderness\Loader)
[03:31:10] [Server thread/CRITICAL]: #11 pmsrc/src/pocketmine/Server(1584): pocketmine\Server->enablePlugins(integer 1)
[03:31:10] [Server thread/CRITICAL]: #12 pmsrc/src/pocketmine/PocketMine(314): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
[03:31:10] [Server thread/CRITICAL]: #13 pmsrc/src/pocketmine/PocketMine(344): pocketmine\server()
[03:31:10] [Server thread/CRITICAL]: #14 pmsrc(11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Pls Fix!

issue

/wild teleport me at void < under bedrock

please add miny maxy

Suggestions

  • Add effects when the player uses commands, for example a blind effect
  • Add custom sound to the player when teleporting
  • Add custom particles to the player when teleporting
  • Add some events like when the player has been teleported
  • Support for economy

Suggestion

Make a new config option where when /wild is executed it teleports them to a random destination in any world name specified in the config.

PM5

hello again, how about update this plugin to PM5? =)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.