May 23, 2013, 05:22:56 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] TDSMPermissions 1.0! Now released!  (Read 9624 times)

0 Members and 1 Guest are viewing this topic.

minesage

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: [b37] TDSMPermissions 1.0! Now released!
« Reply #90 on: April 10, 2012, 06:24:39 PM »
The way to set a persons rank isn't working for me, did I do it correctly?

groups:
    Guest:
        info:
            default: true
            prefix: '[Guest] '
            suffix: ' - says a loser'
            rank: 1
            color: 200,200,200
        inheritance:
        permissions:
            - tdsm.who
    Member:
        info:
            prefix: '[Member] '
            build: true
            rank: 2
        inheritance:
            - Guest
        permissions:
            - tdsm.time
    Sponsor:
        info:
            prefix: '[Sponsor] '
            build: true
            rank: 4
        inheritance:
        permissions:
            - tdsm.give
    Moderator:
        info:
            prefix: '[Moderator] '
            build: true
            rank: 3
            color: 200,200,0
        inheritance:
            - Member
        permissions:
            - tdsm.kick
            - tdsm.ban
    Admin:
        info:
            prefix: '[Admin] '
            build: true
            rank: 4
            color: '#aa1111'
            separator: '~ '
        inheritance:
            - Sponsor
        permissions:
            - '*'
users:
    minesage:
        info:
            color: '#aa1111'
        groups:
            - Admin
        permissions:
            - tdsm.op
   

D1G1T4L3CH0

  • TDSM Team Member
  • Hero Member
  • *****
  • Posts: 518
  • Karma: +22/-2
  • Tester / Moderator
    • View Profile
    • Personal Website
Re: [b37] TDSMPermissions 1.0! Now released!
« Reply #91 on: April 10, 2012, 07:26:23 PM »
So, don't know if I am retarded, but I cannot make it so that Guests cannot build. Here is the code:

...

I've replaced build: false with build: true and back again, but Guests can still build.

Another thing, it does not seem to reload properly. For example, I changed and saved the prefix for the Guest group to '[Pants]' reloaded the plug-ins, and the prefix was still [Guest] until I restarted the server.

One last thing, it would be nice if you could make an option where if a player uses /oplogin then they are placed in the highest ranked group.

I may be retarded and am just missing some obvious things, but any help would be appreciated. Thanks.

I tested this with copying and pasting exactly that top portion of the example permissions file, and I was unable to build. Make sure your players are not OP.



Hello,

I installed the plugin and got it to work.

When I restarted my server my character got the prefix [Sponsor] instead of [Admin]. Are there any errors in my permissions file or is it a bug?
...

Be careful with the spacing. For example, on the first user under "users" it has five spaces. Four is required. I also see in the second yml file that the spacing is incorrect there. After correcting the spacing, it worked fine for me.



The way to set a persons rank isn't working for me, did I do it correctly?

...

Can you tell us what the problem is in more detail?
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.

minesage

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: [b37] TDSMPermissions 1.0! Now released!
« Reply #92 on: April 10, 2012, 07:46:11 PM »
Well I think I put in the users part correctly but, when I go in game I'm still a guest even though I set myself as admin.

D1G1T4L3CH0

  • TDSM Team Member
  • Hero Member
  • *****
  • Posts: 518
  • Karma: +22/-2
  • Tester / Moderator
    • View Profile
    • Personal Website
Re: [b37] TDSMPermissions 1.0! Now released!
« Reply #93 on: April 11, 2012, 04:26:00 PM »
Well I think I put in the users part correctly but, when I go in game I'm still a guest even though I set myself as admin.

I tested it with the example file just adding your user at the bottom by copy/paste. It works fine for me. Just remember, you still need to register with restrict. Try /reg <password here> then in the console do rr -g 0.

The YAML file:
Code: [Select]
groups:
    Guest:
        info:
            default: true
            prefix: '[Guest] '
            suffix: ' - says a loser'
            rank: 1
            color: 200,200,200
        inheritance:
        permissions:
            - tdsm.who
    Member:
        info:
            prefix: '[Member] '
            build: true
            rank: 2
        inheritance:
            - Guest
        permissions:
            - tdsm.time
    Sponsor:
        info:
            prefix: '[Sponsor] '
            build: true
            rank: 4
        inheritance:
        permissions:
            - tdsm.give
    Moderator:
        info:
            prefix: '[Moderator] '
            build: true
            rank: 3
            color: 200,200,0
        inheritance:
            - Member
        permissions:
            - tdsm.kick
            - tdsm.ban
    Admin:
        info:
            prefix: '[Admin] '
            build: true
            rank: 4
            color: '#aa1111'
            separator: '~ '
        inheritance:
            - Sponsor
        permissions:
            - '*'
users:
    Herpina:
        info:
            color: '#ff0055'
        groups:
            - Admin
        permissions:
            - -tdsm.spawnboss
    Derpina:
        info:
            prefix: 'Herpaderp'
        groups:
            - Moderator
            - Sponsor
        permissions:
            - tdsm.op
    minesage:
        info:
            color: '#aa1111'
        groups:
            - Admin
        permissions:
            - tdsm.op

Also, capitals do seem to matter. I could not login with Minesage, but I could with minesage.
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.

rickets

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: [b37] TDSMPermissions 1.0! Now released!
« Reply #94 on: April 13, 2012, 10:33:46 AM »
I saw a post about this earlier in the thread but nothing since..is it correct that reloading the plugin doesn't reload the settings? It doesn't seem to do it for me and I want to make sure I'm not doing something wrong.

D1G1T4L3CH0

  • TDSM Team Member
  • Hero Member
  • *****
  • Posts: 518
  • Karma: +22/-2
  • Tester / Moderator
    • View Profile
    • Personal Website
Re: [b37] TDSMPermissions 1.0! Now released!
« Reply #95 on: April 19, 2012, 10:25:42 PM »
Tested with b38.
Code: [Select]
4/19/2012 11:20:43 PM Pool> Plugin TDSMPermissions crashed in hook player-chat:
 System.MissingMethodException: Method not found: 'Void Terraria_Server.Server.notifyAll(System.String, Terraria_Server.Misc.Color, Boolean)'.
    at TDSMPermissions.TDSMPermissions.OnChat(HookContext& ctx, PlayerChat& args)
    at Terraria_Server.Plugins.HookPoint`1.Invoke(HookContext& context, T& arg)

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.

TerrariaMaster

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: [b38] TDSMPermissions 1.0! Now released!
« Reply #96 on: July 06, 2012, 10:24:26 PM »
Whenever i try to start up my server and it says loading plugins TDSM Permissions says

[WARNING] Plugin Build Incorrect: TDSMPermissions

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal