Advertisement
Guest User

YAML Parsing Problem.

a guest
Oct 11th, 2015
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.73 KB | None | 0 0
  1. ######################################################################################################################################
  2. ## SexyMotd Configuration File ##
  3. ## Learn more about how to set up SexyMotd at http://qwertyness.com/index.php/portfolio/sexymotd ##
  4. ## ##
  5. ## When updating to a new version where the configuration file changes, you must reset the file to prevent errors. ##
  6. ## To do this: ##
  7. ## 1. Stop the server. ##
  8. ## 2. Backup the configuration file and delete it from the plugin folder. ##
  9. ## 3. Restart the server. ##
  10. ## 4. Copy and paste the desired settings back into the newly generated file. (As long as that section's syntax hasn't changed) ##
  11. ######################################################################################################################################
  12.  
  13. # Add a new sub-entry for each separate Motd you want in the random pool.
  14. # Examples below
  15. motds:
  16. - ' &9----[&bNew World Gaming - Prison&9]---- &6 %newline% &a%playername%, &dyou are in the group &6[%groupname%!]'
  17. # The value to show as the maximum player limit to the server. DOES NOT CHANGE THE ACTUAL LIMIT.
  18. maxPlayers:
  19. enabled: true
  20. maxPlayers: 70
  21.  
  22. # The value to show as the amount of online players. A random entry is chosen from the list on each ping.
  23. playerCount:
  24. enabled: true
  25. playerCount:
  26. icon:
  27. # Sets the icon to the pinging player's head.
  28. # Using the avatar image could potentially have a drastic effect on response speed, depending on connection. If your server has a slow connection, this is not recommended.
  29. enableAvatarIcon: true
  30. # Adds an overlay to the head image. Can be used independently from the avatar icon.
  31. enableOverlayImage: false
  32. imagePath: ''
  33.  
  34. #The text to display when hovering over the server in the server list.
  35. playerMessage:
  36. enabled: true
  37. playerMessage:
  38. - '&6------------&f[&bNew World Gaming - Prison]&f------------&6'
  39. - '>>A-Z >>OP-Mines >>1vs1 >>Custom Plugins >>24/7
  40. - '&6----------------------------------------------------------'
  41. - '>>Join the New World Gaming Community Today!'
  42. - '>>Website: www.NW-Gaming.com'
  43. - '&6--------------------&f[&bHave Fun!]&f--------------------&6'
  44.  
  45. # Replaces the online and max player counts with custom text. Color codes and variables work with this.
  46. fakeVersion:
  47. enabled: false
  48. fakeVersion: 'Hell yeah! Players: %onlineplayers%'
  49.  
  50. # The default name to display in place of %playername% when the ping's IP address isn't logged.
  51. defaultPlayerName: 'New Player'
  52.  
  53. # Whether or not to log when a player pings and the connection is closed.
  54. pingLogging: true
  55.  
  56. # Create custom variables here. Custom variables can be used like any of the default SexyMotdBungee variables.
  57. # MAKE SURE to place apostrophes around all components of the custom variable as they are all read as String objects from the configuration.
  58. variables:
  59. largeplayercount:
  60. variable: 'onlineplayers'
  61. operator: '>'
  62. condition: '10'
  63. value: '&aIts sure getting popular around %servername%!'
  64. negValue: '&cGotta step up that recruiting skill! %servername%'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement