EntityOwner

Moved

Total Downloads: 7,293 - First Release: Jul 23, 2015 - Last Update: Dec 8, 2017

5/5, 25 likes
  1. Yep i got it working!
     
  2. You may want to adjust soon the permission and info for players
    Oxide Core v2.0.1684

    Code:
    [12/28/2015 7:09:54 PM] [Oxide] 7:09 PM [Warning] Permission 'canwipeowners' (by plugin Entity Owner) is not prefixed with plugin name, should be 'entityowner.canwipeowners'
    [12/28/2015 7:09:54 PM] [Oxide] 7:09 PM [Warning] Permission 'cancheckowners' (by plugin Entity Owner) is not prefixed with plugin name, should be 'entityowner.cancheckowners'
    [12/28/2015 7:09:54 PM] [Oxide] 7:09 PM [Warning] Permission 'canchangeowners' (by plugin Entity Owner) is not prefixed with plugin name, should be 'entityowner.canchangeowners'
     
  3. [12/30/2015 3:32:22 PM] [Oxide] 3:32 PM [Warning] Missing plugin name prefix 'entityowner. for permission 'canwipeowners' (by plugin 'Entity Owner')
    [12/30/2015 3:32:22 PM] [Oxide] 3:32 PM [Warning] Missing plugin name prefix 'entityowner. for permission 'cancheckowners' (by plugin 'Entity Owner')
    [12/30/2015 3:32:22 PM] [Oxide] 3:32 PM [Warning] Missing plugin name prefix 'entityowner. for permission 'canchangeowners' (by plugin 'Entity Owner')
     
  4. question... its entotyowners working.. becuase not working on my server... remove are working with buildingowner.
     
  5. Calytic

    Calytic Community Admin Community Mod

    Thanks Resistance. I'm not in a position to update this for about a week, but given that it is only a warning it should not cause a problem.

    I have not had any reports that EntityOwner is not working. RemoverTool does not use EntityOwner by default. You will have to modify your RemoverTool to make it compatible with EntityOwner.
    [DOUBLEPOST=1451584607][/DOUBLEPOST]
    Code:
    static object CanRemoveEntity(BasePlayer player, BaseEntity entity, RemoveType removeType)
    {
        if (entity.isDestroyed) return "Entity is already destroyed";
        if (removeType == RemoveType.Admin || removeType == RemoveType.All) return true;
        var externalPlugins = Interface.CallHook("canRemove", player);
        if (externalPlugins != null)
            return externalPlugins is string ? (string)externalPlugins : MessageErrorExternalBlock;
        if (raidBlockedPlayers[player] != null)
        {
            if (raidBlockedPlayers[player] > UnityEngine.Time.realtimeSinceStartup)
                return string.Format(MessageRaidBlocked, Mathf.Ceil(raidBlockedPlayers[player] - UnityEngine.Time.realtimeSinceStartup).ToString());
            raidBlockedPlayers.Remove(player);
        }
        if (entity is BaseEntity && useBuildingOwners)
        {
            var returnhook = Interface.GetMod().CallHook("FindEntityData", new object[] { entity as BaseEntity });
            if (returnhook is string)
            {
                string ownerid = (string)returnhook;
                if (player.userID.ToString() == ownerid) return true;
                if (useRustIO)
                    if (HasFriend(ownerid, player.userID.ToString()))
                        return true;
            }
        }
        if (useToolCupboard)
            if (hasTotalAccess(player))
                return true;    return MessageErrorNotAllowedToRemove;
    }
     
  6. I have not had time to test this plugin yet but some I have and I found even know its only a warning but it causes the plugin to no longer work
     
  7. Can I remove a player's authentication from a deployment?
     
  8. Calytic

    Calytic Community Admin Community Mod

    Do you mean the permissions? I don't know. Administrators will have permission by default so if you can manage it there should not be a problem.
     
  9. Calytic

    Calytic Community Admin Community Mod

    Calytic updated EntityOwner with a new update entry:

    1.0.61

     
  10. @Calytic Heads up for you being abroad if you did the prefix with your plugin name everything should be fine.
    Have a great start into the new year :)
     
  11. Hi Calytic.

    Is it possible to do a limit entities per player? Can be really usefull for high pop servers !
     
  12. I installed this plugin a week ago and it has generated in excess of 100 files in the data folder. Is this normal?
    If not what can I do to change it? Thanks :)
     
  13. The plugin generates a file per player, so if your server is somewhat active you will get quite some files in the data folder, nothing to worry about.
     
  14. OK. Thanks for the reply. :)
     
  15. if i give a group perm to cancheckowners will they only have the ability to check ownership of a structurte
     
  16. seems some times i get stuck in building blocked after using the auth command
     
  17. Hm. Odd issue. When my players are using /owner, which they have permission to do so, it keeps coming up with the following:

    owner: n/a

    Thoughts?
     
  18. How to give the player off the line
     
  19. who do i get owner: n/a
     
  20. I think some owners are getting lost on server shutdown.
    [DOUBLEPOST=1452620027][/DOUBLEPOST]Got a bug, using /auth PlayerName does not check the privilege canchangeowners, so
    anyone with cancheckowners privilege can authorize themselves on cabinets.

    Fix (line 1765):
    Code:
      private void massCupboardAuthorize(BasePlayer player, BasePlayer target)
      {
      if (!this.canChangeOwners(player))
      {
      SendReply(player, messages["You are not allowed to use this command"]);
      return;
      }