June 17, 2013, 10:14:15 PM
Pre-Releases are now available at the PreRelease section.
If any issues occur please post exceptions or information as to how to reproduce in the correct section.

Author Topic: [b38] PermissionsX v1[XML]  (Read 3211 times)

0 Members and 1 Guest are viewing this topic.

DeathCradle

  • Founder/Developer.
  • Sr. Member
  • ******
  • Posts: 447
  • Karma: +42/-1
    • View Profile
[b38] PermissionsX v1[XML]
« on: April 19, 2012, 07:54:54 AM »
Permissions X: v1


TDSM's PermissionsX is an alternate permissions system which uses XML markup. By using XML PermissionsX is able to alter permission nodes on-the-fly by using a technique similar to CRUD during runtime (CRUD stands for `Create, Read, Update & Delete`).

Wiki Page (Commands / Tutorial) (WIP)

Download: DLL | MDB | PDB
« Last Edit: May 18, 2012, 05:17:14 AM by D1G1T4L3CH0 »

FeraL

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: [b38] PermissionsX v1[XML]
« Reply #1 on: April 27, 2012, 12:43:23 PM »
Any list of permissions?
Permission to kill NPCs/Mobs?


How to actually add permission?
Code: [Select]
<Permissions>
permissions.node
asd.aaa
</Permissions>
??

How to add users to group?
Permission node to kill mobs?
« Last Edit: April 27, 2012, 12:49:26 PM by FeraL »

DeathCradle

  • Founder/Developer.
  • Sr. Member
  • ******
  • Posts: 447
  • Karma: +42/-1
    • View Profile
Re: [b38] PermissionsX v1[XML]
« Reply #2 on: April 28, 2012, 01:22:01 AM »
So sorry, I missed adding the group node >.<

However, the NPC killing node is specific to the plugin you use.
If you use Restrict it is: restrict.npchurt (And it can be configured for guests)

When I get a chance I will add a template of the XML to the first post too.

FeraL

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: [b38] PermissionsX v1[XML]
« Reply #3 on: April 29, 2012, 06:43:45 AM »
So sorry, I missed adding the group node >.<

However, the NPC killing node is specific to the plugin you use.
If you use Restrict it is: restrict.npchurt (And it can be configured for guests)

When I get a chance I will add a template of the XML to the first post too.

Thank you, managed to get the NPC hurting to work ...
Any idea about building? Players can now hurt NPCs but not build when registered and logged in.
pl0xhalp ^^

Mekara

  • Newbie
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: [b38] PermissionsX v1[XML]
« Reply #4 on: May 15, 2012, 12:40:05 PM »
it crashes

D1G1T4L3CH0

  • TDSM Team Member
  • Hero Member
  • *****
  • Posts: 518
  • Karma: +22/-2
  • Tester / Moderator
    • View Profile
    • Personal Website
Re: [b38] PermissionsX v1[XML]
« Reply #5 on: May 15, 2012, 09:27:37 PM »
it crashes

More information than that would help the developer a lot more. How about a crash log, errors on the console, what you were doing when it happened, and how to repeat it? Also it's best to include the TDSM build number, operating system, and mono version (if linux).

We cannot help you with such little information.
Server Machine: Xubuntu 11.10 Xfce Mono 2.10.5
Thanks to all those who work on TDSM. It's a great alternative to the official one. And thanks to the plugin devs too for making it even better.

Mekara

  • Newbie
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: [b38] PermissionsX v1[XML]
« Reply #6 on: May 16, 2012, 11:13:46 AM »
Oh Im using Macbook Windows 7 , 4gb ram 500gb space i5 processor with Intel HD 3000 grapichs.

Nevermind figured it out :) Just redownloaded and this time it works perfect I hope (Gonna test the cmds and that)


How am i supposed to Add people to that group?

I made a group called Administrator but I couldnt figure out how I'm supposed to add people to it.

And + How am i supposed to let them use commands?
« Last Edit: May 16, 2012, 12:24:33 PM by Mekara »

D1G1T4L3CH0

  • TDSM Team Member
  • Hero Member
  • *****
  • Posts: 518
  • Karma: +22/-2
  • Tester / Moderator
    • View Profile
    • Personal Website
Re: [b38] PermissionsX v1[XML]
« Reply #7 on: May 16, 2012, 11:22:51 PM »
Take a look at the first post again. It lists all the commands. Try xuser and then xuserperms.
Server Machine: Xubuntu 11.10 Xfce Mono 2.10.5
Thanks to all those who work on TDSM. It's a great alternative to the official one. And thanks to the plugin devs too for making it even better.

Mekara

  • Newbie
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: [b38] PermissionsX v1[XML]
« Reply #8 on: May 17, 2012, 07:44:58 AM »
Ive tried but I didn't found how to add commands it isnt like

xuserattribute addperms /ban
or
xuserperms addperms /ban or something.

D1G1T4L3CH0

  • TDSM Team Member
  • Hero Member
  • *****
  • Posts: 518
  • Karma: +22/-2
  • Tester / Moderator
    • View Profile
    • Personal Website
Re: [b38] PermissionsX v1[XML]
« Reply #9 on: May 17, 2012, 04:39:13 PM »
Quote
xuserperms - ('addperms' | 'denyperms' | 'removeperms' | 'removedenied' | 'addgroup' | 'removegroup') <node | group>

Sorry. The syntax ends in a node or group. The nodes list should probably be linked to the first post. I'll go ahead and add that, I don't think DeathCradle will mind too much. The node list only shows nodes that are available in TDSM without any plugins. Any plugins that are added may or may not have their own nodes, you will need to see the plugin thread to find out.

Server Machine: Xubuntu 11.10 Xfce Mono 2.10.5
Thanks to all those who work on TDSM. It's a great alternative to the official one. And thanks to the plugin devs too for making it even better.

Mekara

  • Newbie
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: [b38] PermissionsX v1[XML]
« Reply #10 on: May 18, 2012, 01:01:04 AM »
Oh thank you, You're always there when somebody needs help  :D

D1G1T4L3CH0

  • TDSM Team Member
  • Hero Member
  • *****
  • Posts: 518
  • Karma: +22/-2
  • Tester / Moderator
    • View Profile
    • Personal Website
Re: [b38] PermissionsX v1[XML]
« Reply #11 on: May 18, 2012, 05:12:00 AM »
I try. Thanks  ;)
Let us know if you experience any other trouble. There are some issues this has that I have found. They may prevent it from working properly for more than just me. Or maybe I'm just doing something wrong. I had a chance to talk to DeathCradle a little bit ago, but for only a few minutes. He's quite busy anymore.

@DeathCradle
I'll just go ahead and post those things we talked about briefly here so you can look at them when you get a chance. I'll take a look at the source at some point later or tomorrow to see if I can get more information on some things.

- Not autodownloading restrict.
- XPermissions.xml file without newlines and indentation. It's all on one line which makes it difficult to read.
- Adding a user to a group does add that user to the group but the CanBuild attribute for the user remains false.
- xgroupattribute does not allow changing the "Default" attribute.
- I am unable to build (client says no permissions) no matter what I do. This continues even after setting the group the user is in to CanBuild=true and the user to CanBuild=true. It's restrict telling me no permissions. Are you sure restrict is properly communicating with your plugin?
Server Machine: Xubuntu 11.10 Xfce Mono 2.10.5
Thanks to all those who work on TDSM. It's a great alternative to the official one. And thanks to the plugin devs too for making it even better.

Dartz

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: [b38] PermissionsX v1[XML]
« Reply #12 on: July 24, 2012, 12:27:58 PM »
hello there :)

Fisrt: I thanks the authors for their hardwork.

Then, I'd like to say that I have the same problem as D1G1T4L3CH0

Quote
- Adding a user to a group does add that user to the group but the CanBuild attribute for the user remains false.

I would like to know if this "little" problem will be fixed?

Anyway great job on this website too :)

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal