Humanity System

A humanity system based off of the DayZ mod

Total Downloads: 1,598 - First Release: Jul 6, 2016 - Last Update: Aug 6, 2016

5/5, 6 likes
  1. This better? :)
    Code:
            public void CreateGroup(string groupName)
            {
                if(Convert.ToBoolean(BetterChat?.Call($"API_GroupExists", groupName))) return;
                if(Convert.ToBoolean(BetterChat?.Call($"API_AddGroup", groupName))){
                    Puts($"Created betterchat group - {groupName}");
                    BetterChat?.Call($"API_SetGroupSetting", groupName, "priority", "-500");
                }else Puts($"Failed to create group - {groupName}");
            }
     
  2. DylanSMR updated Humanity System with a new update entry:

    1.1.2

     
  3. -500 makes it an even higher priority.

    BetterChat's priority works like
    0 > 1
     
  4. Ooooh? Good to know lol - so instead 500 would work? :)
     
  5. exactly.
     
  6. DylanSMR updated Humanity System with a new update entry:

    1.1.3

     
  7. How would you suggest hooking in rewards/consequences into this? Is that something your planning, or do you intend the API to be used for that? (Like Calling Helis (HeliControl) to Bandits and Airdrops to Heros, or resource grants, etc)
     
  8. Could be nice if you had a command to check chosen player humanity
     
  9. yeah or maybe just auto set a bounty on the bandot with most kills
    and have a config that admins can choose bounty rewards based on the severity of the bandit e.g. Better rewards for bandita with kills over 50 than bandits with less than 50 kills etc. Just a thought.
     
  10. For every kill I get I also get a death
     
  11. I have the same
     
  12. @DylanSMR made something wrong in the plugin.

    At the method GetStat, he took the players kills when he asked for Deaths

    I'll fix the plugin and attach it here.
     

    Attached Files:

  13. DylanSMR updated Humanity System with a new update entry:

    1.1.4

     
  14. I'm using this plugin, but when someone achieves bandit it says they achieved bandit and neutral and only gives the title of neutral in Better Chat. I've changed the priority of bandit/hero to be higher than neutral but the problem remains.
     
  15. DylanSMR updated Humanity System with a new update entry:

    1.1.5


    [DOUBLEPOST=1470518452][/DOUBLEPOST]
    Fixed sorry for that.
     
  16. Hello,

    I just added this plugin, but it does not show tags in BetterChat.
    Any idea what to do? Groups are created with priority 500
    /hstatus works, and shows neutral, only chat tag is missing.

    I think it has something to do with the priority, and the defaulth group fix from betterchat.
     

    Attached Files:

    Last edited by a moderator: Aug 14, 2016

  17. After changing some things I get all tags in betterchat, or none.
    Does not seem to interact with the humanity at all.
     

    Attached Files:

    Last edited by a moderator: Aug 18, 2016
  18. Can somebody explain please:

    Why humanity system adding groups, but dont give the tags in chat?
    I try to get this working for 24 hours now, and I'm nearly going to break my keyboard...
    They say this is simular with the karma system from 3 years ago, but I ask myself, why is the karma system removed?
    Why does this plugin not work with chat tags on my server?

    I'm owner, no tags accept owner @ my name.
    Admin also getting no hero or bandit tags.
    Vip wont get the tags also

    whats the point of the groups and tags then??

    Please somebody tell me what I'm doing wrong
     
  19. My fault dont stress over it haha :p. I will work on it soon I have to look into it more.
     
  20. haha yeah sorry, this is the 2cnd month I running my own server on vps.
    Having that much options in server files is 3 years ago, and I do remember the karma system I used that time.
    I expected that this plugin already worked like the karma system, because I did not see anybody else saying anything about it.
    Sorry for being autistic haha,

    I tried to put the headnames on, but that's a lil bit glitchy.
    the names moving , comming trough walls, and my opinion is that iff it is above the head, it just have to be the tag before the name ;)
    Also the groups made that should provide the nametags in betterchat does not seem to interact with the current humanity and does not add players or the tag to the chat. (maybe because of options "playertaging""defaultgroup fixed" in betterchat? )
    seems that all players get the default group, with normal playertag, I tried to set the neutral group as default priority,
    but I think that fixed default option in betterchat does not allow that.

    The gui is looking nice, but to big to have on all the time on my server, already got zlevel gui and infobar.

    I also atached the groups file how it is now.
    This is edited by some developers and should work.
    Hope this info will be helpfull
     

    Attached Files:

    Last edited by a moderator: Aug 18, 2016