[Error] Failed to load plugin rules
Traceback (most recent call last):
File "rules.py", line 2, in <module>
ImportError: Import of module ChatManager not allowed
[DOUBLEPOST=1454009886][/DOUBLEPOST]Change "ChatManager" to "ChatManagerServer" in 2 plases. And it will work.
Server Rules [Unmaintained]
Discussion in 'Plugin Support' started by NobodyFTW, Dec 17, 2015.
-
Thanks for taking over but I cannot get it to work again since the last update I think... it doesn't recognise /rules -
Fix fersion
Attached Files:
-
-
can't seem to edit the config file every time I reload plugin it overwrites my changes. Have made sure to not break the code.
Last edited by a moderator: Feb 2, 2016 -
Wulf Community Admin
-
Is it possible to remove rules languages?
When I remove the unneeded rules and do a reload they are added again,
I want just 2 rules. Dutch and English because I don;t know how to translate it. (people who are not good in English or Dutch may say they couldn't read the rules)
This is how my config looks like:
Code:{ "MESSAGES": { "AVAILABLE LANGS": "Available languages", "LANG NOT EXIST": "Could not find <red>{lang}<end> language, type <lime>/rules list<end> for the full list of languages.", "TITLE PREFIX": "<orange>•<end> <silver>SERVER RULES<end>:" }, "RULES": { "EN": [ "Respect all players", "Dont keep asking to get stuff from admin or other players, They decide to give you something or not", "Admins do play this game also, only ask for their advise when you are really stuck. Sometimes other players can help you to." ], "NL": [ "Respecteer alle spelers", "Niet zeuren om spullen, mensen mogen zelf bepalen of ze je iets willen geven of niet", "Admins spelen het spel zelf ook, vraag alleen om advies wanneer je echt vast zit en niemand anders je hulp kan bieden." ] }, "SETTINGS": { "COMMAND TRIGGER": "rules", "DEFAULT LANGUAGE": "en", "ENUMERATE RULES": true, "PREFIX": "<white>[<end> <cyan>SERVER RULES<end> <white>]<end>", "REMOVE CHAT COLORS": false } }
Last edited by a moderator: Jul 5, 2016 -
i am trying to add rules to my server the command /rules
and stuff but it aint work is it out of date or somthing how to do so
someone please tell me -
Hi @MADDMAX_KZ ,
do you use this plugin?
Server Rules for Hurtworld | Oxide -
yes i have it and it is not working on my oxide server
-
mmm, I haven't idea what do you do, because my "rules" plugin works good with new update.
[DOUBLEPOST=1467681624][/DOUBLEPOST]btw, have you got any errors in your server log? -
no not much jus bounty hunters may i get a plugin of ur rules so i can add it n change it to my rules? please
-
Yes you can, find configuration file (\oxide\config\rules.json) and edit it in notepad (notepad++ is better), but be carefull don't make mistakes in code!!!
-
yea i do not have one of those i was asking if u could post a file for me to get off u
-
if you start your server and have "rules" plugin in oxide\plugins\ directory, you must have rules.json in config directory, because plugin automatically creates new. but if you want one default config file....
Attached Files:
-
-
what is name of youre rules when u download it mine says Rules.py
cause that is in my plugins for my server and i have no rules.json til u gave me one =) -
yes but "rules.py" without capitals (.py because this plugin is write in python language)
when you open your log file have you got line "[Info] Loaded plugin Server Rules v1.0.2 by surfarcher" in? -
Wulf Community Admin
-
@Wulf
He can't find rules.json in his oxide\config\ directory.
[DOUBLEPOST=1467686284][/DOUBLEPOST]or He is blind -
Wulf Community Admin
-
It occurred me too... I just gave him a helping hand via Team Viewer if he wants