KillParadise submitted a new resource:
Server Rules - Gives users rules command and admins ability to add or remove rules
Read more about this resource...
Server Rules [Unmaintained]
Discussion in 'Plugin Support' started by KillParadise, Feb 23, 2015.
-
KillParadise updated Server Rules with a new update entry:
Variable Name Fix
-
Not working for me.
Oxide Version: 2.0.354, Rust Protocol: 1211 -
-
No, don't have any error in console, just when i do /rules plugin don't respond, same when i do /rules add.
I tried to edit in config but same. -
Hmm, okay that is odd. I will have a look at it and see what I can find. Thank you for bringing this to my attention.
-
np
-
KillParadise updated Server Rules with a new update entry:
Fix for latest Oxide
[DOUBLEPOST=1424797611][/DOUBLEPOST] -
Works perfectly ! Good job thanks !
-
-
KillParadise updated Server Rules with a new update entry:
Fixes and Added the Delete Command
-
KillParadise updated Server Rules with a new update entry:
Tiny Tweak(Optional)
-
KillParadise updated Server Rules with a new update entry:
New Features
-
KillParadise updated Server Rules with a new update entry:
Removed useless config variable
removed a config variable that was almost useless. May be added back for new features?Click to expand... -
Hi, can you add multilangage rules support ? like /rules-fr /rules-en... ?
Thanks -
KillParadise updated Server Rules with a new update entry:
Code Tweaks, and added two translations
-Tweaked the code a bit for performance
-Added French Array to Config put your french translated rules here
-Added Spanish Array to Config put Spanish translated rules here
-Added /rules fr to see French rules
-Added /rules sp to see Spanish rules
-Use /rules to see the English rules
Note: this requires a config update so please take your config file out of your server and let the plugin build a new one, and then copy and paste your settings over.Click to expand... -
2:42 AM [Info] Loaded Rules from Config: 15
2:42 AM [Error] Failed to initialize plugin rules
File: rules.js Line: 17 Column: 20 TypeError settings is undefined:
at Jint.Native.Function.ScriptFunctionInstance.Call (JsValue thisArg, Jint.Native.JsValue[] arguments) [0x00000] in <filename unknown>:0 -
Upperking said: ↑2:42 AM [Info] Loaded Rules from Config: 15
2:42 AM [Error] Failed to initialize plugin rules
File: rules.js Line: 17 Column: 20 TypeError settings is undefined:
at Jint.Native.Function.ScriptFunctionInstance.Call (JsValue thisArg, Jint.Native.JsValue[] arguments) [0x00000] in <filename unknown>:0Click to expand...
This happens on first install once the plugin creates the config file, reload it and this error will go away (or it should)
EDIT: OR this is possibly from a non updated config. In your config do your settings display like this:
Code:"authLvl": 2, "repeatDisplay": true, "welcomeMsg": true, "interval": 200
-
Yeah the was that problem. that part was missing
Last edited by a moderator: Mar 19, 2015 -
Hi !
When i want to load the plugin with rusty I got :
Code:> oxide.load rules [Oxide] 8:57 PM [Error] Failed to load plugin rules (Exception: Plugin is missing version) [Oxide] 8:57 PM [Debug] at Oxide.Ext.Lua.Plugins.LuaPlugin.Load () [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.Plugins.LuaPluginLoader.Load (System.String directory, System.String name) [0x00000] in <filename unknown>:0 at Oxide.Core.OxideMod.LoadPlugin (System.String name) [0x00000] in <filename unknown>:0
Error: Parse error on line 1:
var rules = {
^
Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[', got 'undefined'
Any idea please ?Last edited by a moderator: May 14, 2015