Advertisement
Guest User

Untitled

a guest
Jul 11th, 2016
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.99 KB | None | 0 0
  1. # To store all completed missions per player.
  2. database:
  3. # Either 'mysql' or 'sqlite'.
  4. type: sqlite
  5. mysql:
  6. host: localhost
  7. port: 3306
  8. database-name: rankmissions
  9. user: root
  10. password: password
  11.  
  12. plugin-messages:
  13. no-permission:
  14. - "&cYou don't have permission."
  15. invalid-args:
  16. - "&cInvalid arguments!"
  17. help-menu:
  18. - "&8 ---- &bCommands for RankMissions &8-- &7Page &d1 &8----"
  19. - "&6/rankmissions&f: &7Open this help menu."
  20. - "&6/rankmissions &estats [player]&f: &7See what missions a player has completed."
  21. - "&6/rankmissions &cgive [player] [mission]&f: &7Give a player a mission."
  22. - "&6/rankmissions &cgiveall [mission]&f: &7Give all online players missions."
  23. given-item:
  24. - "&aYou were given the item to spawn &2%mission%&a!"
  25. no-space:
  26. - "&cThere was no space in your inventory so the item was dropped where you're standing!"
  27. required-missions-not-completed:
  28. - "&cYou cannot activate this mission because you have not completed the required missions!"
  29. completed-mission-that-blacklists:
  30. - "&cYou can't complete this mission because you have completed another mission that disallows you from doing this one!"
  31. no-repeat:
  32. - "&cYou're not allowed to repeat this mission!"
  33. already-completing-mission:
  34. - "&cYou are already completing a mission!"
  35. failed-to-spawn-entity:
  36. - "&cYou can't spawn the entity here!"
  37. died-by-natural-causes:
  38. - "&cThe mob for the %mission% mission started by %player% died by natural causes! Better luck next time."
  39. not-in-region:
  40. - "&cYou can only start this mission in a warzone!"
  41.  
  42. region-needs-mob-spawning-allow: false
  43.  
  44. missions:
  45. # This is the mission name. You can add as many missions as you want.
  46. 'Bronze': # Please rename the mission to something else! This is only an example.
  47. item:
  48. # Materials: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
  49. type: "HAY_BLOCK"
  50. data: 0
  51. name: "&eRank Mission"
  52. lore:
  53. - "&7Right click me to"
  54. - "&7start a rank mission!"
  55. # This checks against the WorldGuard region.
  56. activate-in-region:
  57. - "warzone"
  58. settings:
  59. start-delay: 10
  60. # If true, it would require 'rankmissions.examplemission2' since that's the name you chose for the mission.
  61. use-permission: false
  62. repeatable: false
  63. required-missions: []
  64. blacklisted-if-mission-complete:
  65. - []
  66. entity:
  67. # Entity types: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html
  68. mob: "COW"
  69. name: "&e%player%'s Rank Mission Cow"
  70. health: 200.0
  71. # Follows format of EFFECT:LEVEL. The time will always be infinite.
  72. # Effect list: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html
  73. effects:
  74. - "SPEED:10"
  75. # Commands to be run.
  76. actions:
  77. on-click:
  78. - "broadcast %player% is about to start a %mission% mission at %x%, %y%, %z%!"
  79. on-start:
  80. - "broadcast %player% started a %mission% mission at %x%, %y%, %z%!"
  81. on-complete:
  82. - "broadcast %killer% has completed %player%'s mission!"
  83. - "zperms player %killer% addgroup example"
  84. - "msg %killer% Congratulations on winning the rank mission! Your rank has been applied."
  85. - "manuadd %killer% Bronze"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement