Advertisement
Blockhead7360

AdvancedPunishGUI - Blockhead7360's Plugin Shop

Aug 25th, 2016
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 7.50 KB | None | 0 0
  1. # AdvancedPunishGUI by Blockhead7360 (http://blockhead7360.com)
  2. # Configuration guide: http://bit.ly/AdvancedPunishGUI
  3.  
  4.  
  5. # - Plugin information -:
  6.  
  7. # PERMISSION NODES:
  8. # punishments.moderator >> gives you access to all commands. The only command that doesn't require a permission node is "/warns", which just shows you how many warnings you have received.
  9.  
  10. # COMMANDS:
  11. # /punish <player> >> Opens the Punishment GUI.
  12. # /ban >> Tells you to use "/punish" instead.
  13. # /unban <player> >> Lets you unban a player (you could also do /unban <uuid> or /unban </ipaddress>, but that's not as easy, so just use player names ;))
  14. # /kick <player> <reason...> >> Lets you kick a player for a specified reason.
  15. # /warn <player> <reason...> >> Lets you warn a player for a specified reason.
  16. # /banlist >> Shows an inventory full of banned players.
  17.  
  18. # /warns >> Shows how many warns you (the sender) has. This does not require "punishments.moderator" permission node.
  19.  
  20.  
  21. # IF ANY PART OF THE PLUGIN IS NOT WORKING OR NEEDS AN UPDATE, CONTACT ME FOR HELP
  22. # Email (recommended): plugins@blockhead7360.com
  23. # Spigot Forums: Send a PM to ComputerDust
  24. # Bukkit Forums: Send a PM to Blockhead7360
  25. # Any of these allow me to easily respond.
  26.  
  27. # YouTube: http://j.mp/bh7360yt
  28. # PayPal: http://pay.blockhead7360.com (redirects to PayPal.me link)
  29.  
  30. # If the plugin is not working, this plugin has full error coverage for 1 month. Once this time runs out, you will need to pay $20 USD to purchase another 2 weeks of error coverage (if you need it). However, this plugin has been tested and should be bug free.
  31.  
  32. # If the plugin needs an update, pricing depends on the size of the update. Small updates are FREE!
  33. # For a ton of information on all of this, visit: http://ps.blockhead7360.com
  34. # Alternative: https://www.spigotmc.org/threads/blockhead7360s-plugin-shop-high-quality-plugins-open.103453/
  35. # Alternative: http://blockhead7360.com/plugin-dev
  36. # On that page, all this information, plus a section for update pricing, is listed!
  37.  
  38. # THIS PLUGIN FALLS INTO THE "LARGE" SIZE CATEGORY (on the plugin shop page above).
  39.  
  40.  
  41.  
  42. # Hello! This is a guide for the configuration file (config.yml) of AdvancedPunishGUI by Blockhead7360 (made for Dragon_12dk)
  43. # This plugin will not be sold to anyone other than Dragon_12dk (technically, except me, since I have the file, but I won't use it) unless Dragon_12dk provides permission to do so.
  44.  
  45. # For a Bukkit/Spigot color code guide: http://ccg.blockhead7360.com
  46.  
  47. # There are a lot of other sections of the configuration file that are generated upon specific tasks running in the plugin (ex. banning someone, kicking someone, etc). It is recommended NOT to edit those sections! Only edit the sections below!
  48.  
  49.  
  50. ban-message:
  51.  - "&cYou are banned from this server!"
  52.   - " "
  53.   - "&fBanned on: %BANNED-ON%"
  54.   - "&fBanned by: %BANNED-BY%"
  55.   - "&fReason: %REASON%"
  56.   - " "
  57.   - "%IF%PERMANENT: &fYou are permanently banned!"
  58.   - "%IF%ELSE: &eYou are banned for %TIME-LEFT%"
  59.   - "Appeal at: &b&nhttp://example.blockhead7360.com"
  60. # In this section, you can define the message that is sent to the player when they are banned (or when they retry to join while banned). To add another line, simply indent (using spaces, NOT the tab key) and place a "-" in alignment with the other lines in the example above. Color codes are supported.
  61.  
  62. # Available variables (case sensitive):
  63. # %BANNED-ON% >> provides the date (MM-dd-yyyy) that the player was banned on.
  64. # %BANNED-BY% >> provides the username of who banned the player.
  65. # %REASON% >> provides the reason for which they were banned.
  66.  
  67. # If the player is permanently banned, use this to signify the line: "%IF%PERMANENT: "
  68. # Remember that that is case sensitive, and with that space between the colon (":") and the message. (also without the quotations. See example above if you are confused)
  69. # The message on that line will only be sent if "%IF%PERMANENT: " is found at the beginning of the line.
  70.  
  71. # If the player is temporarily banned, use this to signify the line: "%IF%ELSE: "
  72. # Same as above for the description for this.
  73. # On the line that starts with "%IF%ELSE: ", you can have the variable %TIME-LEFT%, which provides the time left until the ban is complete.
  74.  
  75.  
  76.  
  77. punishments:
  78.   '1':
  79.    - "Swearing%%86400"
  80.   '2':
  81.    - "Hacking%%-1"
  82. # This is the section where the punishments for the ban options are defined. Remember to keep indentation when adding more.
  83. # Each number is a page number. Limit 45 lines per page, or errors may be thrown.
  84. # The reason that the examples "Swearing" and "Hacking" are on different pages is to show how to setup multiple pages. You can delete the lines after '2' to get rid of the second page, and simply add more to the first page.
  85.  
  86. # How to format a punishment:
  87. # REASON%%TIME-SECONDS
  88. # The message is split at the %%, so that is very important to have.
  89. # The time is in seconds, so if you want a day, simply look up "how many seconds in a day" on google (which is 86400).
  90. # Put the reason first, then the %%, then the seconds.
  91. # To make a permanent ban, use -1 in the seconds section.
  92.  
  93.  
  94. unban-check-interval-ticks: 80
  95. # This is the delay for the timer that is running in the background. The reason I have this is so that the History section of the punish GUI works better and is more accurate.
  96. # This is what is happening:
  97. # Every 80 ticks (4 seconds), the configuration file is read through to see who needs to be unbanned, and if any warns have expired. I honestly think that 4 seconds is a good amount to have this at. Too little can cause lag and glitches, and too high can cause extended ban times and extended warn times. I recommend leaving it as it is unless you know what you are doing.  
  98.  
  99. warns-last-days: 7
  100. # This is how long (in days) that warns will last before expiring. This is on a per-warn basis. So if you get 1 warn on Monday and 1 on Tuesday, the first warn will expire 1 day before the other. Get it :)?
  101.  
  102. kick-after-warns: 3
  103. # After this many warns, the player will be kicked saying that they received too many warns, and their last warn message.
  104.  
  105. temp-ban-after-warns: 4
  106. # After this many warns, the player will be temporarily banned for the time stated below. Also, all warns are deleted so after the temp ban is over, they will have no warnings.
  107.  
  108. temp-ban-warn-length-days: 1
  109. # This is how long (in days) that the player will be banned for if receiving too many warns. -1 will NOT work here!
  110.  
  111. kick-prompt: "&eUsage: /kick %PLAYER% <reason>"
  112. # When a moderator presses the "Kick" icon in the gui, what message should they see?
  113. # Available variables:
  114. # %PLAYER% >> shows the player they were trying to punish.
  115.  
  116. warn-prompt: "&eUsage: /warn %PLAYER% <reason>"
  117. # When a moderator presses the "Warn" icon in the gui, what message should they see?
  118. # Available variables:
  119. # %PLAYER% >> shows the player they were trying to punish.
  120.  
  121. broadcast:
  122.   ban: true
  123.   kick: true
  124.   warn-kick: true
  125. # These are simple settings which ask if you would like a message broadcasted to the entire server. These are not customizable as the variable formatting would be much harder, but if you would like these messages to be customizable, it would cost another $8 USD.
  126. # ban >> should a message be broadcasted when a player is banned?
  127. # kick >> should a message be broadcasted when a player is kicked?
  128. # warn-kick >> should a message be broadcasted when a player is kicked for getting too many warns?
  129.  
  130. # The warn temporary ban falls into the "ban" setting.
  131.  
  132. # That's all! SORRY FOR A TON OF TEXT, I just wanted to tell you how to operate the plugin with ease ;)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement