-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Every time i edit the config... #43
Comments
You will need to format your YAML correctly in order for me to find the issue. Use pastebin or a gist. What you have written is equivalent to what I have pasted below, and either won't work with the plugin because the indentation has been lost.
|
This is not a |
@JackMD I am considering handling this more gracefully, which is why I left it open. |
@JackMD It's just about verifying that the structure of the YAML is correct before parsing it into ranks, and if it isn't give a warning. |
@falkirks I used these settings of config.yml and these of groups.yml. They work flawlessly., |
The plugin is working at first and then plugin disables once i config the plugin:
CONFIGS:
groups:
A:
entrance:
- say {name} ranked up to A
- setgroup {name} A
exit: []
perms: []
members: []
B:
entrance:
- say {name} ranked up to B
- setgroup {name} B
exit: []
perms: []
members: []
C:
entrance:
- say {name} ranked up to C
- setgroup {name} C
exit: []
perms: []
members: []
D:
entrance:
- say {name} ranked up to D
- setgroup {name} D
exit: []
perms: []
members: []
E:
entrance:
- say {name} ranked up to E
- setgroup {name} E
exit: []
perms: []
members: []
F:
entrance:
- say {name} ranked up to F
- setgroup {name} F
exit: []
perms: []
members: []
G:
entrance:
- say {name} ranked up to G
- setgroup {name} G
exit: []
perms: []
members: []
H:
entrance:
- say {name} ranked up to H
- setgroup {name} H
exit: []
perms: []
members: []
I:
entrance:
- say {name} ranked up to I
- setgroup {name} I
exit: []
perms: []
members: []
J:
entrance:
- say {name} ranked up to J
- setgroup {name} J
exit: []
perms: []
members: []
K:
entrance:
- say {name} ranked up to K
- setgroup {name} K
exit: []
perms: []
members: []
ranks: # Define all your ranks here
A: 0
B: 1500
C: 2500
D: 4000
E: 6000
F: 10000
G: 15000
H: 25000
I: 50000
J: 75000
K: 100000
lang:
ranked-up-paid: "You have been ranked up to %s"
ranked-up-free: "You have been ranked up to %s"
group-add-error-paid: "Failed to rankup. Refunded price."
group-add-error-free: "Failed to rankup. Try again later."
need-more-money-1: "Looks like you don't have enough money."
need-more-money-2: "You need %s to rank up."
missing-economy: "Can't purchase now."
have-max-rank: "You have the maximum rank."
command-permission-error: "You don't have permission to rankup."
The text was updated successfully, but these errors were encountered: