Pets

Do you want a pet? This plugin is for you!

Total Downloads: 12,246 - First Release: Mar 22, 2015 - Last Update: Jun 11, 2018

4.63636/5, 44 likes
  1. Anyway we can get it so everyone can use it and not have to grant everyone permission? That would take too long and new people would have issues until we get to them. Also, don't think there is a hook for the help plugin?
     
  2. Wulf

    Wulf Community Admin

    I think we'd need to add a way to add all new users to a default group with Oxide first, then you could setup default permissions for that group.
     
  3. Bombardir updated Pets with a new update entry:

    HP\DAMAGE\SPEED modifers + new button!


    [DOUBLEPOST=1428688531][/DOUBLEPOST]For this update u need to delete old pets save file data/Pets.json
     
  4. Bombardir updated Pets with a new update entry:

    Hookname update

     
  5. im'block my brain on that :/ im visual ppl, we need i think and lots ppl more a video tutorial
     
  6. Can once again describe in detail your problem ?
     
  7. Hi my english is limited you know plus i do not understand all of security group/user etc etc.
    Like i I say you 1st we are alway need to go ingame to activate /pet because no possibility to do it from console, (because my server close and launch all day as example you know). As example again i would a user (nobody someone that i not know his nickname to add in group because you say to do that add a user name in group) can taming with no rules but if i no do /pet (ingame) they cannot because they are authlvl0. another thing imagine a player come and i add him to a group with right for he take a pet ok then he leave game... must go i do all writing command for nothing at end and delete the player all times if they leave or any other solution can you tutorial ask simply?IDK what to do:/ I hope you can understand now because it's my last reply to try to explain ^^.

    PS: Or maybe any possibility to add all users authlvl0 into a default oxide.usergroup? idk
    Regard
     
    Last edited by a moderator: Apr 11, 2015
  8. Wulf

    Wulf Community Admin

    Put Pets.cs on your server in the server/identity/oxide/plugins folder, then run these commands in the server console or RCON:
    • oxide.grant user playername cannpc
    • oxide.grant user playername canwolf
    The player you specified in the command (replace playername) can now use the /pet command and can tame wolves. If you want to allow them to tame other animals, just give them the permission the same way you did the wolf, but replace canwolf with the permission for that animal.
    • 'cannpc' -- Grant permission to use /pet command
    • 'canbear' -- Grant permission to bear taming
    • 'canwolf' -- Grant permission to wolf taming
    • 'canchicken' -- Grant permission to chicken taming
    • 'canboar' -- Grant permission to boar taming
    • 'canstag' -- Grant permission to stag taming
     
  9. Hi Yes Wulf thank you, is that i see this plugin functionally but then no way to allow default players without put a nick name?
    what I want is to just avoid a name of a player who will not come back and having to reprise the later you understand?

    Ps damn i just reread the #117 post from stoneman "You have to give permission for each Player" then it's so silly :/
    Can't you do solve this problem?
    Regard
     
  10. In the pets config file just change "Use permissions" from true to false then all players can use the plugin
     
  11. Wulf

    Wulf Community Admin

    We'll have a default group setup soon in Oxide that you can assign permissions to. For now, you can do what MeatCircus suggested above.
     
  12. When i run those oxide commands to grant the player permissions and then use /pet nothing seems to happen. What am I missing here?
     
  13. I got this error when i use /pet :

    Code:
    [Oxide] 8:03 PM [Error] Failed to call hook 'npc' on plugin 'Pets' (ArgumentNull
    Exception: Argument cannot be null.
    Parameter name: format)
    [Oxide] 8:03 PM [Debug]   at System.String.FormatHelper (System.Text.StringBuild
    er result, IFormatProvider provider, System.String format, System.Object[] args)
    [0x00000] in <filename unknown>:0
      at System.String.Format (IFormatProvider provider, System.String format, Syste
    m.Object[] args) [0x00000] in <filename unknown>:0
      at System.String.Format (System.String format, System.Object[] args) [0x00000]
    in <filename unknown>:0
      at Oxide.Plugins.RustPlugin.PrintToChat (.BasePlayer player, System.String for
    mat, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.RustPlugin.SendReply (.BasePlayer player, System.String forma
    t, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Pets.npc (.BasePlayer player, System.String command, System.S
    tring[] args) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (ob
    ject,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invoke
    Attr, System.Reflection.Binder binder, System.Object[] parameters, System.Global
     
  14. Wulf

    Wulf Community Admin

    Did you see feedback that the player you assigned the permission to was granted it successfully?
     
  15. Hi today all well, i'm already set to "Use permissions": false in fact I was already because my file already had this parameter which implies that it does not work for me then: / do you want I redo a complete setting new file?
    [DOUBLEPOST=1428762120][/DOUBLEPOST]
    Yes? how i can proceed to do that?

    PS: ok i just downgrade the Pets plugin version and the "Use permissions": false running fine now, and finally I did not realize that all players must type the command /pet for NPC actived and when I saw her I thought it was me (admin) who activated the plugin for everyone in the server !! sorry guys thank you for everything...
     
  16. Bombardir updated Pets with a new update entry:

    Errors fix


    [DOUBLEPOST=1428770901][/DOUBLEPOST]
    Fixed, thanks for report!
     
  17. Just a minor bug: animals can attack signs atm.
     
  18. It's not bag, why not?
     
  19. Assigning text to a sign and locking it can be quite annoying.
    I doubt this was implemented purposefully, simply missing the check for this object.
     
  20. im using hunt RPG is there anyway i can allow the wolf and bear with skill to anyone but still restrict the others without adding each new player?