Author Topic: AWarn2 - Advanced Warning Module  (Read 380447 times)

0 Members and 7 Guests are viewing this topic.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: AWarn2 - Advanced Warning Module
« Reply #120 on: October 02, 2014, 08:53:25 PM »
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?

Nothing to do with Lua.
Just ULX XGUI menu or console commands as given in instructions from first post.

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"

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?
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline SSwagrenade

  • Newbie
  • *
  • Posts: 2
  • Karma: -2
Re: AWarn2 - Advanced Warning Module
« Reply #121 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!

Offline Avoid

  • Full Member
  • ***
  • Posts: 142
  • Karma: 42
Re: AWarn2 - Advanced Warning Module
« Reply #122 on: October 03, 2014, 12:38:48 PM »
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!
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: [Select]
ulx groupallow "moderator" "awarn_view"
ulx groupallow "moderator" "awarn_warn"

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: AWarn2 - Advanced Warning Module
« Reply #123 on: October 08, 2014, 09:43:52 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...

You realize, it's free, right?
Out of the Garry's Mod business.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: AWarn2 - Advanced Warning Module
« Reply #124 on: October 08, 2014, 11:15:18 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...
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.

Offline rori

  • Newbie
  • *
  • Posts: 4
  • Karma: -1
Re: AWarn2 - Advanced Warning Module
« Reply #125 on: October 09, 2014, 12:45:54 PM »
No, I was stating I want the actual version not a leak, so can you add this to scriptfodder. I was not implying you leaked this.

Edit; didn't realize it was free, sorry, thanks for this!
« Last Edit: October 09, 2014, 12:48:04 PM by rori »

Offline Evolucious

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: AWarn2 - Advanced Warning Module
« Reply #126 on: October 26, 2014, 02:07:24 PM »
Nice!

Offline xriotx1999

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: AWarn2 - Advanced Warning Module
« Reply #127 on: November 04, 2014, 06:57:06 PM »
This looks really cool

Offline Dirka

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: AWarn2 - Advanced Warning Module
« Reply #128 on: November 07, 2014, 01:53:36 PM »
Cool very usedfully

Offline Storm

  • Full Member
  • ***
  • Posts: 220
  • Karma: 4
Re: AWarn2 - Advanced Warning Module
« Reply #129 on: November 11, 2014, 09:00:45 AM »
MrPresident, did you ever get the extra modules working correctly? I think there were some issues with them? I am interested in the TTT module. Thanks.

Offline Frost21

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: AWarn2 - Advanced Warning Module
« Reply #130 on: November 19, 2014, 12:32:03 PM »
There is no downlink even if im logged on

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: AWarn2 - Advanced Warning Module
« Reply #131 on: November 19, 2014, 02:42:44 PM »
There is no downlink even if im logged on
It's at the bottom of the original post. It's small, but you should be able to find it.
bw81@ulysses-forums ~ % whoami
Homepage

Offline [GG]TheKevin

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: AWarn2 - Advanced Warning Module I NEED THE DOWNLOAD LINK
« Reply #132 on: November 27, 2014, 01:58:33 AM »
PLZ HELP I CANT FIND THE DOWNLOAD LINK PLZ SEND ME THE DOWNLOAD LINK I REALY NEED IT  :-[ :-\ :-[

Offline [GG]TheKevin

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: AWarn2 - Advanced Warning Module
« Reply #133 on: November 27, 2014, 02:10:25 AM »
Yo then, maybe i dont got the right ulx maybe  :-\

I realy need help, becuase i just want so i can warn on my server... :-X :-X

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: AWarn2 - Advanced Warning Module
« Reply #134 on: November 27, 2014, 06:40:45 AM »
Are you daft?!
Go to the first post of this topic. The one with the description and instructions for how to use AWarn. What we call the "release" post.
At the very bottom of that post is a link, with the words called Awarn2.zip, and a paperclip beside it.
This will likely sound disrespectful, and perhaps it is, if you can't find the link when you've been told 2 times exactly where it is and how to get there, I'm not sure you should be hosting a server.
It takes a medium level of direction following, which, you may not possess.

See this image example. (Ignore my theme colors, the text will still be the same)
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming