English [ADMN, DEV] Permissions - WIP icon

18 comments
29.06.14 04:40:50 pm
like 13 like it!
14 kb, 567 Downloads
VADemon
User
Offline Off
[Admininstration, Developer Tools] Permissions

Do you really think you've a good admin management with customizable rights? I am LOLing at you

With Permissions you don't need to write own admin management like here
or even user Happy Camper's work file cs2d HC Admin Script 1.9.3 (226) where you only have 4 different groups (oh, sweet )
or file cs2d Starkkz's Admin Script (146) where you have 10 different groups.


In general:
At the moment, scripters need to code their own admin management, admins have to edit directly the scripts files to give/remove rights.
This is unflexible and hard, that's where Permissions come into play
IMG:http://i.imgur.com/2rZonNM.jpg

∗ What's so good about Permissions?
For Admins:
You decide which commands users can use. Everything is done in Permissions, you don't need to touch other scripts.

For Scripters:
No need to waste your time writing own rights management! Permissions does everything for you, a single function call is enough.

∗ How it works:
There are groups, there are users and now there are permission nodes. Scripters tell which permission node is used for a command in their script and then admins simply grant the permission to a specific user or group so they can use the command.

∗ Features: ∗

• Flexibility: unlimited groups and users
• Multiple groups per user
• Inheritance: don't need to add same permissions to all groups
> Example: group [Admin] can additionally have all nodes from groups [newbie], [member] and [moderator]
• High performace: no problems with >9000 permission nodes per user
• Per-map permissions

By far that's only a handful of features and usages of Permissions. The default config also contains prefixes and suffixes that can be used by chat scripts. Permissions can even be used as config for other scripts

∗ Setup Permissions:
Put the contents of archive into autorun folder
Edit the config in /Permissions/config/permissions.lua as you wish

∗ Information for scripters:
How to use >


Every time you look at the code 100 cute kittens die a painful death.
> Don't mind the shitty code
imageimage
edited 1×, last 29.06.14 09:31:48 pm
ok This file has been reviewed and approved by Yates (04.12.15 02:15:22 pm)

Comments

18 comments
Goto Page
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in
11.04.16 03:38:08 pm
like I like it!
Up
Inflexion
User
Offline Off
Anyways, you copied it from PermissionsEx
Noice.
01.07.14 09:31:06 pm
like I like it!
Up
AlcatrazZ
BANNED
Offline Off
Wat? I have better group rank system
I can add a rank and permissions in config by function file hue and more...

EDIT:
Code:
permissions.create.group(name, parent)

Oh, but you still have a fuck*d config file. I have simpler.
edited 2×, last 01.07.14 09:54:17 pm
01.07.14 07:53:42 pm
Up
VADemon
User
Offline Off
@user _Yank: If I weren't lazy, it would also be finished by today
30.06.14 11:52:34 pm
like I like it!
Up
_Yank
User
Offline Off
@user VADemon: If this were released earlier it would be a success. VADeamon Permissions configs would replace admin scripts
30.06.14 11:22:46 pm
like I like it!
Up
Staming
User
Offline Off
I would like you to be moderator.
30.06.14 08:08:49 pm
like I like it!
Up
DatRat
User
Offline Off
WOWOWOWOWOOWWOWOWOW...
Its MUST HELP EVERY WHERE
30.06.14 06:42:40 pm
like I like it!
Up
Starkkz
Moderator
Offline Off
I like the idea.
30.06.14 05:38:45 pm
like I like it!
Up
Deleted
User
Offline Off
Good job .
30.06.14 05:15:25 am
like I like it!
Up
JustKill
User
Offline Off
Good script
29.06.14 10:07:23 pm
Up
VADemon
User
Offline Off
user MikuAuahDark everything is global, but per-map configuration overrides global configuration.
I need more time to improve the description, but current priorities are like this:

groups < per-map < team (upcoming) < user

So groups are kinda the lowest rank among permissions and user is the highest
29.06.14 09:59:37 pm
like I like it!
Up
MikuAuahDark
User
Offline Off
does the configuration can set the permission to all maps?

bdw nice anyway.
29.06.14 09:26:56 pm
like I like it!
Up
_Yank
User
Offline Off
I wont use it or anything but it stills a very nice script.
Good work
29.06.14 07:48:53 pm
like I like it!
Up
ohaz
User
Offline Off
Awesome. Will definitely use it when I need a permission system next time
29.06.14 05:43:29 pm
Up
VADemon
User
Offline Off
@user mafia_man: You wrote your own permissions system. Good. If I was about to create a 20 line long script (in this example I am new to Lua etc.), why should I care about making my own system? I'd rather "outsource" this work to an external script.

Prefixes and suffixes: Permissions only acts as a storage there, so any script can access and use the options.
29.06.14 05:36:55 pm
Up
mafia_man
User
Offline Off
Quote:
At the moment, scripters need to code their own admin management, admins have to edit directly the scripts files to give/remove rights.
This is unflexible and hard, that's where Permissions come into play

That is not true, some of them like me wrote their own permissions system, and dynamic commands which you can modify without restarting server like me.

Instead of prefixes and suffixes you should use chat format string. Example:
Code:
1
"©255255255ש255242000VIP©255255255× ©255242000%PLAYERNAME%©255255255: %text%",
29.06.14 05:35:28 pm
like I like it!
Up
Hellcat
GAME BANNED
Offline Off
It is beautiful and useful.
29.06.14 04:54:16 pm
like I like it!
Up
Pro Gaming cs16
User
Offline Off
good and nice work
29.06.14 04:42:27 pm
like I like it!
Up
TrialAndError
User
Offline Off
Easy to use √
Easy to edit √
Easy to find lines √
Like √
To the start Previous 1 Next To the start