Ulysses Stuff > Releases
AWarn2 - Advanced Warning Module
JamminR:
--- Quote from: SSwagrenade on October 02, 2014, 05:48:37 AM ---I'm not the best with lua code, so how do I add it so my ULX group 'moderator', 'donatoradmin' and 'trialmod' have access to warn players?
--- End quote ---
Nothing to do with Lua.
Just ULX XGUI menu or console commands as given in instructions from first post.
--- Quote from: MrPresident on March 06, 2014, 02:31:36 AM ---By default only admins/superadmins have access to this addon. If you are running ULX/ULib and you want to add more groups or users just assign them the following access flags.
awarn_view - This allows a player to view all players' warnings.
awarn_warn - This allows a player to warn players.
awarn_remove - This allows a player to reduce a player's active warnings.
awarn_delete - This allows a player to completely remove all warnings from a player.
awarn_options - This allows a player to view/edit the scripts configurations.
The access flags are registered in XGUI so adding them is as easy as using your in-game XGUI menu. You can also do it manually with the following ULX commands:
ulx userallow <player> "access_flag"
ulx groupallow <group> "access_flag"
examples:
ulx userallow "Mr.President" "awarn_warn"
ulx groupallow "moderator" "awarn_options"
--- End quote ---
There are a total of 5 access flags you'd need to give each group, unless any of those groups inherit from one you're giving the access too.
I presume as a server host I wouldn't want to give the awarn_options command flag to anyone but admin and above, so really only 4 access flags.
What specifically do you not understand from those instructions/examples?
SSwagrenade:
How can I make it possible for moderators to have access to !warn players, but not delete warnings from them? I'm bad at lua code and don't want to f**k it up!
Avoid:
--- Quote from: SSwagrenade on October 03, 2014, 08:52:51 AM ---How can I make it possible for moderators to have access to !warn players, but not delete warnings from them? I'm bad at lua code and don't want to f**k it up!
--- End quote ---
Hello,
have you read the reply from JamminR? Please read it again!
You do not need to fiddle around with the code, AWarn comes with ULX permissions!
--- Code: ---ulx groupallow "moderator" "awarn_view"
ulx groupallow "moderator" "awarn_warn"
--- End code ---
Neku:
--- Quote from: rori on October 08, 2014, 09:19:25 PM ---Any way this could get uploaded to script fodder? I'd love to buy this, and don't want a leak, I want the real deal so please...
--- End quote ---
You realize, it's free, right?
MrPresident:
--- Quote from: rori on October 08, 2014, 09:19:25 PM ---Any way this could get uploaded to script fodder? I'd love to buy this, and don't want a leak, I want the real deal so please...
--- End quote ---
This isn't a leak. I made this script and all of my scripts are free from this website.
If you still want to donate to me for this script, there is a link to my donation page on the main post, though this is unnecessary.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version