Skip to content

Instantly share code, notes, and snippets.

@Signifies
Created August 8, 2017 13:50
Show Gist options
  • Save Signifies/81db46f54dfdcb5bb62dd6f7f3dc7d21 to your computer and use it in GitHub Desktop.
Save Signifies/81db46f54dfdcb5bb62dd6f7f3dc7d21 to your computer and use it in GitHub Desktop.
Fixed config for spigot.
config-version: 1.0
Commands-msgs:
perm-denied: '%prefix% &cUnable to comlete your request! &7You need permission!'
plugin-reloaded: '%prefix% &7The &6config &7has been &areloaded.'
Log-To-Console: true
Vote-Reminder:
Enabled: false
msg:
- '&8--------- %prefix% &8---------'
- '&6Remember to vote for the &2Server!, &3&l%player%'
- '&eEarn &2&nrewards &7and &a&ncash in-game!'
- '&6Use the command &b&l/vote &6for more info!'
- '&8---------------------------'
Economy:
Enabled: true
amount: '6.00'
message: "&7Thanks for voting &4%name%&7, you've received &a%amount% &7Emeralds!"
Broadcast:
Enabled: false
Custom-Prefix: '&c&l[&6Vote&c&l]'
Message: '%prefix_custom% &a&n%username%&r &7has voted on: &6&n%service%&r &7at
&3%timestamp%'
Commands:
Inform-msg: '%prefix% &aCommands Executed!'
Vote-Gui:
settings:
gui-name: '&aVote &b&l>>'
gui-size: 9
weblinks:
settings:
item-name: ENCHANTED_BOOK
item-desc: '&3Click here, &6for &bvote &eSites!'
item-pos: 1
information:
- '&8--------- %prefix% &8---------'
- '&a---------------------------'
- '&a&l>> &7http://minecraft-server-list.com/'
- '&a&l>> &7http://www.minecraft-index.com/'
- '&a&l>> &7https://minestatus.net/'
- '&a&l>> &7http://minecraftservers.org/'
website:
settings:
item-name: BEACON
item-desc: '&6Server &a&nWebsite!'
item-pos: 3
information:
- '&8--------- %prefix% &8---------'
- '&a>>&7&nharshcraft.enjin.com&a<<'
voteInfo:
settings:
item-name: BOOK
item-desc: '&6Information &7on &b&lvoting'
item-pos: 5
information:
- '&8--------- %prefix% &8---------'
- '&6Information on rewards, or whatever else.'
closeInv:
settings:
item-name: LAVA_BUCKET
item-desc: '&cClose &7Inventory'
item-pos: 7
@Signifies
Copy link
Author

When going through the config, you used a sentence that contained the ' character. I don't know if it's the editor you're using or my plugin that generates that as placeholders, but if you have a word like (that's) change the enclosing characters to " "

Error: 'You don't have permission'
Correction: "You don't have permission"

This may be a bug with my plugin, it is old and needs updating, but I haven't had much time to contribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment