Shine Admin + Badges

SjNSjN Members, Reinforced - Supporter Join Date: 2003-01-07 Member: 11983Posts: 839
Can someone walk me through how to get Shine Admin to work with badges?

With DAK, all I had to do before is modify ServerAdmin.json and add a certain badge group the the user, such as this:

"PlayerName": {
"id": 59212,
"groups": [ "SuperAdmin", "heart" ]
}

Shine user config looks like this:

"142588": {
"Group": "SuperAdmin",
"Immunity": 2
},

Group is singular, meaning I cannot put an array in there. So how do I assign a certain badge to a user?

Thanks

Love and play!

Comments

  • Person8880Person8880 Members, Squad Five Blue Join Date: 2013-01-02 Member: 177167Posts: 72 Advanced user
    Add a "Badge" entry to the group, so for example:

    "SuperAdmin": {
    "Commands": [],
    "IsBlacklist": true,
    "Immunity": 100,
    "Badge": "heart"
    }
  • SjNSjN Members, Reinforced - Supporter Join Date: 2003-01-07 Member: 11983Posts: 839
    edited September 2013
    Person8880 wrote: »
    Add a "Badge" entry to the group, so for example:

    "SuperAdmin": {
    "Commands": [],
    "IsBlacklist": true,
    "Immunity": 100,
    "Badge": "heart"
    }

    Thank You!

    But what if I didn't want all SuperAdmins to have the same badge?

    Player1
    Group: "Admin"
    Badge: "heart"

    is something similar to this possible?

    Right now I am in the process converting a web users URL previously used for DAK, which looks like this:
    dakattack
    104714976
    simple_reserved

    llama_eater
    111401
    simple_reserved\,ghost

    darkbanefox
    35648280
    simple_reserved

    TechnIckS
    5922566
    full_admin\,uwe

    MuchHigher
    137719
    basic_admin\,clover

    triace
    29939380
    basic_admin

    For example, the player before last(MuchHigher) is "basic_admin" and he has the "clover" badge.
    Love and play!
  • Person8880Person8880 Members, Squad Five Blue Join Date: 2013-01-02 Member: 177167Posts: 72 Advanced user
    Right now, you'd have to create a group for each badge, as the user data wasn't designed with badges in mind.

    I can add reading a badge value from the user entry to it so you can put:

    "142588": {
    "Group": "SuperAdmin",
    "Immunity": 2,
    "Badge": "heart"
    },
  • DirtyCurtyDirtyCurty Members, Reinforced - Shadow Join Date: 2013-09-01 Member: 187591Posts: 1
    This probably doesn't belong here, but what is Shine Admin? I see it on a few servers and I was just a little curious.
  • SjNSjN Members, Reinforced - Supporter Join Date: 2003-01-07 Member: 11983Posts: 839
    Person8880 wrote: »
    Right now, you'd have to create a group for each badge, as the user data wasn't designed with badges in mind.

    I can add reading a badge value from the user entry to it so you can put:

    "142588": {
    "Group": "SuperAdmin",
    "Immunity": 2,
    "Badge": "heart"
    },


    That would be great. Would it work now or is it going to come out in the new version?

    @DirtyCurty

    https://github.com/Person8880/Shine
    Shine
    =====

    An administration mod for Natural Selection 2.

    Currently a work in progress.

    The design goals are:
    - Be easy to extend and maintain.
    - Be easy for admins to use.
    - Be completely modular, everything is optional.
    Love and play!
  • Person8880Person8880 Members, Squad Five Blue Join Date: 2013-01-02 Member: 177167Posts: 72 Advanced user
    Next update I push out it will work.
  • SjNSjN Members, Reinforced - Supporter Join Date: 2003-01-07 Member: 11983Posts: 839
    Person8880 wrote: »
    Next update I push out it will work.

    That's great! Thank you!!
    Love and play!
  • SjNSjN Members, Reinforced - Supporter Join Date: 2003-01-07 Member: 11983Posts: 839
    How will I know if the new update is out? (Since it's auto updates right?)
    Love and play!
  • MavickMavick Members Join Date: 2012-11-07 Member: 168138Posts: 412
    DirtyCurty wrote: »
    This probably doesn't belong here, but what is Shine Admin? I see it on a few servers and I was just a little curious.

    Shine is a server administration mod that automates alot of server settings and does actually quite a wide range of stuff for server admins. It's pretty much a must-have mod imo. It includes stuff like a random vote based on previous rounds KDA's, score, etc. Person8880 that you see posting here is the person who wrote the mod, and he has done a fantastic job with it.
Sign In or Register to comment.