An highly customisable UHC plugin for PocketMine
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
972 B

  1. <?php
  2. # _ _ _ _ _____
  3. # | | | | | | |/ ____|
  4. # | | | | |__| | |
  5. # | | | | __ | |
  6. # | |__| | | | | |____
  7. # \____/|_| |_|\_____|
  8. # The most customisable UHC plugin for Minecraft PE !
  9. namespace Ad5001\UHC\scenario;
  10. use pocketmine\command\CommandExecutor;
  11. use pocketmine\command\Command;
  12. use pocketmine\command\CommandSender;
  13. interface ScenarioInt {
  14. /* When the scenario is activating */
  15. public function onStart();
  16. /* When the scenario is stoping (end of UHC) */
  17. public function onStop();
  18. /* Getting the main methods */
  19. public function getMain();
  20. /* Get the config (which is a part of the config of the plugin) */
  21. public function getConfig();
  22. /* Save the config */
  23. public function saveConfig($cfg);
  24. /* Get the scenario folder */
  25. public function getScenariosFolder();
  26. /* Reload the config */
  27. public function reloadConfig();
  28. }