Author Topic: Flexible permission system  (Read 3208 times)

What?
Allows the server admin to create custom roles which have permissions and single-inheritance. Players are then assigned to a role (there is a default role). Inspired by the various permission systems for Bukkit.
Permissions are also assigned a default value using the old admin-based system (everyone, admins, SAs, host, nobody).

Checking for a permission looks like this:
Code: [Select]
%cl.hasPermission("permission.name");
The permission name should generally look somewhat like "add-on.category.permission". Any consuming mods don't have to care about roles.

Why?
This both removes the need for mods such as the various "Moderator" mods, the need for free admin servers (simply give the default group the desired permissions, such as, for example, teleporting), mods restricting who can build at all, and also the various mods intended for limiting which admin levels have access to what, while still being much more flexible.

The current state
All the back-end code is currently done, but there is no admin UI. Also a few core functions have been packaged to use the new system for testing purposes, more should be done later.

I'll be sure to "test" this.
@crash();

I'll be sure to "test" this.
@crash();
That was another mod that I had installed to not have to alt-tab all the time, not part of this.

oh hey neat

i'd like this

oh hey neat

i'd like this
It's already done, I just need someone to do the GUI. Join my server for a demo.

I need a system for a roleplay framework I'm working on, I need it to allow or disallow building, painting, spawning things, events, and use of a few serverCmds. Could I have a copy of this, or see the code or something? PM me about it, rather then responding in the topic.

I need a system for a roleplay framework I'm working on, I need it to allow or disallow building, painting, spawning things, events, and use of a few serverCmds. Could I have a copy of this, or see the code or something? PM me about it, rather then responding in the topic.
This will be released when it's fully tested and *SOMEONE* has made a GUI for it.

This will be released when it's fully tested and *SOMEONE* has made a GUI for it.

Would you just need the GUI to have all of the permissions in a list, all the players in a list, and buttons to give or remove permissions?

If so, I can start right now. Add me on Steam

Would you just need the GUI to have all of the permissions in a list, all the players in a list, and buttons to give or remove permissions?

If so, I can start right now. Add me on Steam
Actually, Scout31/Dephurites/Jincux is working on it atm.

Actually, Scout31/Dephurites/Jincux is working on it atm.

Oh.

:c

Can't wait for this, I've been thinking of this for a long time.

Daring people can clone an unsupported dev snapshot from https://bitbucket.org/dontcare4free/server_permissions. It generally works but is not really user-friendly.

Daring people can clone an unsupported dev snapshot from https://bitbucket.org/dontcare4free/server_permissions. It generally works but is not really user-friendly.

Brb, creating flags system...

I feel that Blockland development is now moving to repositories. It gives everything a whole new feel. I think I like it.

I feel that Blockland development is now moving to repositories. It gives everything a whole new feel. I think I like it.

That's the first repository related to Blockland I've seen, though >:o