can you make chat channels ? like /chatchannel ru and it will change to russian channel.. and the main will be English
Chat Handler [Unmaintained]
Discussion in 'Plugin Support' started by Domestos, Nov 2, 2014.
-
-
[DOUBLEPOST=1428263315][/DOUBLEPOST]As i said "can you make chat channels ? like /chatchannel ru and it will change to russian channel.. and the main will be English"
If its possible to do :
Make also a file in ftp named Log.chat-ru and it will log the russian chatthe main has the Log.chat
-
Chat channels are generally possible to do but not the purpose of this plugin. That would be content for a standalone plugin.
Regarding the permissions implementation for the commands: I'll see if i can throw something together later. -
Awesome
-
Domestos updated Chat Handler with a new update entry:
command permissions
-
thanks we wait this update..
could you explain how can i added a player to group so he can mute players. i dont want to add him as a admin so just one permission is enough -
2- Then you need to add the mute permisson to the group: oxide.grant group mod canmute
3- And finally add the users you want into that group: oxide.usergroup add <steam64id> mod
I've learned all this thanks to this tutorial done by @Domestos
Oxide permission system pretty much works like legacy's Flags plugin.
You can also create groups, add permissions to that groups and assign users to it so every user in that group has the permission of that group.
You can grant a user permission by using:
oxide.grant user <username> <permission>
To create a group:
oxide.group add <groupname>
To assign permission to a group:
oxide.grant group <groupname> <permission>
To add users to a group:
oxide.usergroup add <username> <groupname> -
I cannot get colors to work. When I log in as admin, I get the default blue player text. 100% positive I am admin.
-
-
They are
[DOUBLEPOST=1428345937][/DOUBLEPOST]Very very complicated plugin just to get admin color to change. Tried every single thing in your tutorial and its not working. Here is the problem with this plugin. 1. Without it admins have green text. 2. Install it and that is gone unless you go through 5 steps to just get color back, which still doesn't work. I love this plugin and am very thankful for it, but I think it needs to be simplified. Any way to break this out into word filter seperate from text color, groups, and all this extra stuff?Last edited by a moderator: Apr 6, 2015 -
Its already as simple as it could be. -
I got it working. But one question. Anyone that logs in with the name that was added to the "admin" group can be admin? Shouldn't this be done by STEAMID?
-
-
oxide.grant user <username>
so username can be replaced by STEAMID? or it just adds the users steamid to the group file? -
-
There is no difference between using the name or steamid, even if you're using the players name the permission is automaticly assigned to the steamid.
-
-
Thank you!
-
I'm sorry if it's been on here already, I did look through it but couldn't find anything. I'm getting this error:
Code:[Oxide] 3:36 PM [Error] Failed to call hook 'SendHelpText' on plugin 'Chat Handler' File: chathandler.lua Line: 1131 attempt to index upvalue 'langString' (a nil value): at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
Last edited by a moderator: Apr 7, 2015