Advertisement
Guest User

Untitled

a guest
Feb 21st, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.41 KB | None | 0 0
  1. Locks server for maintenance. Usage /Lockdown on/off [Players to not Lockout (including offline players)] Ex: /Lockdown on Moocow9m RandomPerson54 RandomPerson21 or for timed /tlockdown [playernames]
  2. you can add players to Login Allow list by config, command, and permissions(it will combine them).
  3.  
  4. If any help is needed and is not currently stated in documentation please tell me and i will add it to the documentation.
  5.  
  6. Version Info: Works with Spigot 1.7.9 - 1.11.2. Works with Bungee.
  7.  
  8. Poll (Should I switch to UUIDs? Ends March 1st): https://goo.gl/forms/r0tHkYs138TtYMvH3
  9.  
  10. Place suggestions on improvements, add features, or Report bugs here: http://goo.gl/forms/VKtLs2gD9M
  11.  
  12. To-Do:
  13. - On update add new items to config if needed.
  14.  
  15. [SPOILER="Documentation"]
  16. MaintenancePlugin
  17.  
  18. By: Moocow9m
  19.  
  20.  
  21. Commands:
  22.  
  23. Lockdown:
  24. Usage: /lockdown on/off [Player Names]
  25.  
  26. Desc: Locks server for any reason specified in the config.
  27. tLockdown:
  28. Usage: /tlockdown [Player Names]
  29.  
  30. Desc: Same as lockdown but with a time specified in config.
  31.  
  32.  
  33. Permissions:
  34.  
  35. This changes depending on bungee or spigot usage.
  36.  
  37. Bungee:
  38.  
  39. All permissions to use command and stay logged in on lockdown and after is set in config or by command. See Config for Bungee for more information.
  40.  
  41.  
  42. Spigot:
  43.  
  44. Lockdown.use:
  45. description: Locks server.
  46. default: op
  47.  
  48. join.server.during.maintenance:
  49. description: Allows joing and staying on the server during lockdown.
  50. default: op
  51.  
  52.  
  53. Config:
  54.  
  55. This changes depending on bungee or spigot usage.
  56.  
  57. [SPOILER="Bungee"]
  58. # +----------------------------------------------------------------------+
  59.  
  60. # < Plugin Lockdown by Moocow9m >
  61.  
  62. # < Change the options you want on lockdown in here! >
  63.  
  64. # < http://wiki.ess3.net/mc/ > //All messages should allow coloring.
  65.  
  66. # +----------------------------------------------------------------------+
  67.  
  68.  
  69. Enabled: true // setting this to false will reset the config and will generate a new one.
  70.  
  71. Access:
  72.  
  73. Amount: 3 // this is how many players are in the list for access to the commands.
  74.  
  75. '0': Default1 // it starts at zero and names are case and spelling sensitive for the most part.
  76.  
  77. '1': Default2
  78.  
  79. '2': Default3
  80.  
  81. Motd:
  82.  
  83. Player:
  84.  
  85. Message:
  86.  
  87. Enabled: true //This is the max/min player slot.
  88.  
  89. message: Lockdown Enabled
  90.  
  91. offline:
  92.  
  93. Active: true //if lockdown is off and this is true, this will activate the next two lines.
  94.  
  95. '1': Lockdown Disabled //This is line one of the lockdown off MOTD which activate when lockdown is off.
  96.  
  97. '2': YAY //This is line two of the lockdown off MOTD.
  98.  
  99. lockdown:
  100.  
  101. '1': Lockdown Enabled //This is line one of the lockdown MOTD which only activates on lockdown.
  102.  
  103. '2': Sorry //This is line two of the lockdown MOTD.
  104.  
  105. login: Maintenance in progress // This is the Lockdown kick message.
  106.  
  107. Login:
  108.  
  109. Access:
  110.  
  111. Amount: 3 // this is how many players are in the list for access to logging in without command perms.
  112.  
  113. '0': Default1 // it starts at zero and names are case and spelling sensitive for the most part.
  114.  
  115. '1': Default2
  116.  
  117. '2': Default3
  118.  
  119. Countdown:
  120.  
  121. Color:
  122.  
  123. Code: '&4' // The link at top has all color codes. This is the color the message will be.
  124.  
  125. Message: Lockdown in %num% // %num% is where the countdown number will be.
  126.  
  127. time: 10 //This is the countdown length in seconds.
  128.  
  129. Update:
  130.  
  131. Check:
  132.  
  133. enabled: true //enable/disable the update feature
  134.  
  135. receive:
  136.  
  137. Amount: 3 //amount of below players
  138.  
  139. '0': Default1 //receive update message on login if available
  140.  
  141. '1': Default2
  142.  
  143. '2': Default3
  144.  
  145. Auto: true //Update Plugin automatically.
  146.  
  147. liveEdit: //alows editing to most other options without reload
  148.  
  149. Enabled: true
  150.  
  151. check: '6' //how often(in seconds) to check for changes
  152.  
  153. Favicon:
  154.  
  155. changeFavicon: false //change your server icon while lockdown is on
  156.  
  157. Favicon: Favicon.png
  158.  
  159. newFavicon: Favicon2.png
  160.  
  161. pingLines:
  162.  
  163. changePingLines: true //on ping change hover message
  164.  
  165. pingLines:
  166.  
  167. '0': '&8&m Sorry only one line...'
  168.  
  169. [/SPOILER]
  170.  
  171. [SPOILER="Spigot"]
  172. # +--------------------------------------------------------------------+
  173.  
  174. # < Plugin Lockdown by Moocow9m >
  175.  
  176. # < Change the options you want on lockdown in here! >
  177.  
  178. # < http://wiki.ess3.net/mc/ > //All messages should allow the coloring.
  179.  
  180. # +--------------------------------------------------------------------+
  181.  
  182. Enabled: true
  183. Motd:
  184. lockdown:
  185. Amount: 3 //Amount of random MOTDs selected every ping
  186. '0': //MOTD 1
  187. '1': '&cLockdown Enabled1' //MOTD 1 Top Line
  188. '2': '&cSorry1' //MOTD 1 Bottom Line
  189. '1': //MOTD2... and so on
  190. '1': '&cLockdown Enabled2'
  191. '2': '&cSorry2'
  192. '2':
  193. '1': '&cLockdown Enabled3'
  194. '2': '&cSorry3'
  195. Player:
  196. Message:
  197. Enabled: true //Enables the player count to be turned into below message
  198. message: '&cLockdown Enabled' //Message mentioned above
  199. kickmessage:
  200. amount: 4 //Amount of messages displayed on kick
  201. '0': '&cKicked message default 1' //First line
  202. '1': '&cdefault2' //second line... and so on
  203. '2': '&cdefault3'
  204. '3': '&cdefault4'
  205. offline:
  206. Active: false //True overrides config MOTD with the one set here when server is not on lockdown
  207. Amount: 3
  208. '0': //MOTD 1
  209. '1': '&aLockdown Disabled1' //MOTD 1 Top Line
  210. '2': '&aYAY1' //MOTD 1 Bottom Line
  211. '1': //MOTD2... and so on
  212. '1': '&aLockdown Disabled2'
  213. '2': '&aYAY2'
  214. '2':
  215. '1': '&aLockdown Disabled3'
  216. '2': '&aYAY3'
  217. Login:
  218. Access:
  219. Amount: 3 //Amount of player to add by config (Will be removed in future due to permissions controlling these as wall)
  220. '0': Default1 //Player Name 1
  221. '1': Default2 //Player Name 2 and so on...
  222. '2': Default3
  223. Countdown: // /tlockdown only
  224. Color:
  225. Code: '&4' //Color of below message
  226. Message: Lockdown in %num% // Move %num% to alter where it says num on countdown
  227. time: 10 //Seconds till lockdown
  228. Update:
  229. Check:
  230. enabled: true //check for updates on startup
  231. receive:
  232. Amount: 3 //Amount of players to add to update status receive list (to be added to permissions soon)
  233. '0': Default1
  234. '1': Default2
  235. '2': Default3
  236. timer:
  237. 'On': true // To check every so often for updates while server is running (Works even if startup check is false from startup check)
  238. Minutes: 60 //How often in minutes to check
  239. liveEdit:
  240. Enabled: true //Refresh variables in plugin every so offten (Not recommended)
  241. check: 6 //Seconds to check
  242. Favicon:
  243. changeFavicon: false //Change image shown on ping (Must be 64 x 64)
  244. Favicon: Favicon.png //Lockdown off
  245. newFavicon: Favicon2.png //Lockdown on
  246. pingLines:
  247. changePingLines: true //Message that shows while hovering over the player count info
  248. pingLines:
  249. Amount: 3 //Amount to show (Over 3 "might" not work)
  250. '0': '&8&m--------------------------------------------' //Line 1
  251. '1': '&cDefault 2' //Line 2 and so on...
  252. '2': '&8&m--------------------------------------------'
  253. Server:
  254. in:
  255. offline:
  256. mode: false //Offline servers create new UUIDs so methods that use them need names (Not Recomended. Use only if errors occur to see if problem gets fixed.)
  257. allowed:
  258. by:
  259. command:
  260. - Default1
  261. - Default2
  262. - Default3
  263.  
  264. Timed:
  265. lockdown:
  266. type: actionbar //Avalible: actionbar, bossbar, scoreboard, chat (All case sensitive)
  267. scoreboard:
  268. Name:
  269. Of:
  270. Board: Lockdown Info
  271. [/SPOILER]
  272.  
  273. [/SPOILER]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement