1. Admintp (/tp,/tpsave, /tpl) using the permission system instead of using the players authlevel
     
  2. okay, looked in the teleportation config, it has
    "CheckFoundationForOwner": true,
    "UseFriendsAPI": true,

    but people can still set homes in other peoples houses. so possibly something wrong with friendsAPI?
     
  3. Where do i remove the homes set by a user?
     
  4. Did you install building owners?
    The problem is even when you install building owners it's not going to change existing buildings to have owners they will remain unlisted until your next server wipe (or possibly until they add another building part?) If it's unlisted in building owners I don't see it working.
    You can manually add owners to houses using /changeowner "player name" I think once they have owners it should stop hometp from being placed there by anyone other then the owners/friends

    it's possible I'm wrong, maybe @Reneb could confirm since he made the plugin
     
  5. thank you for all your help k1lly0u. :)
     
  6. All good bro, hopefully I helped and didn't lead you the wrong way haha
     
  7. well, i installed building owners and lets say i build a foundation and call someone to try to set a home, they still can. its quite odd. not sure where the issue lies.
     
  8. It wasn't someone you got as a /friend was it? Haha just thought I'd check. Maybe try setting owner as a random player from your server and have a different random test it. It's odd that it's not working for you when it works a treat for me. If you want add me on steam, when I get home maybe we can have a shot at working it out?
     
  9. I think there is a bug with the teleportation plugin after the last two updates ppl are able to carry their permissions with them to the teleported spot!
    This is really annoying and ruins the game experience as ppl abuse it :(

    Mughisi, is there anything you can do about this? Thanks!
     
  10. I cant get this plugin to work with friendapi, my players have each other added as friend, but they still cant sethome on their friend's house. I also have building owner plugin install
     
  11. Code:
    [Oxide] 11:53 AM [Warning] CallHook 'OnEntityTakeDamage' on plugin 'Teleportation System' took: 646ms
     
  12. oxide.grant group mod Admintp not work... Permission 'Admintp' doesn't exist
     
  13. Code:
    [Oxide] 6:07 PM [Error] Failed to call hook 'cmdTeleportRequest' on plugin 'Teleportation System'
    File: m-Teleportation.lua Line: 1794 attempt to index field 'TPRData' (a nil value):
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0
      at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
    I keep getting this error.. Help, please? :s
     
    Last edited by a moderator: Aug 12, 2015
  14. Wulf

    Wulf Community Admin

    Your oxide/data for this plugin is somehow corrupt. You'd need to shutdown your server and either fix or delete it.
    [DOUBLEPOST=1439399350][/DOUBLEPOST]
    "Admintp" is not a valid permission for this plugin, this plugin only uses auth levels currently.
     
  15. Seems like a bug.
    After using teleport players can build and set homes in someone else's house. They just haven't "Building Blocked" sign.

    Players said that it was only once. And I can't repeat this situation. But I don't think that they lied about this.
     
    Last edited by a moderator: Aug 12, 2015
  16. Can you please add a cancel tp? I try to add it my self by adding in this commands
    Code:
    -- ----------------------------------------------------------------------------
    -- PLUGIN:cmdTeleportCancel( player, cmd, args )
    -- ----------------------------------------------------------------------------
    -- In-game '/tpc' command that allows a player to accept a teleport request
    -- from another player.
    -- ----------------------------------------------------------------------------
    function PLUGIN:cmdTeleportCancel( player, cmd, args )
        -- Check if the TPR module is enabled.
        if not self.Config.Settings.TPREnabled then return end    -- Check if the player is allowed to use the command.
        canTeleport, err = self:CanPlayerTeleport( player )
        if not canTeleport then
            -- The player isn't allowed to teleport right now, send him a message
            -- from the plugin that is blocking the teleport and cancel the
            -- teleport proces.
            self:SendMessage( player, err )        return
        end
        if TeleportTimers[playerID] then
            -- Send a message to the players or to both players.
            self:SendMessage( TeleportTimers[playerID].originPlayer, self.Config.Messages.Interrupted )        if TeleportTimers[playerID].targetPlayer then
                self:SendMessage( TeleportTimers[playerID].targetPlayer, self:Parse( self.Config.Messages.InterruptedTarget, { player = TeleportTimers[playerID].originPlayer.displayName } ) )
            end        -- Destroy the timer.
            TeleportTimers[playerID].timer:Destroy()        -- Remove the table entry.
            TeleportTimers[playerID] = nil
            end
    end
    and
    Code:
        command.AddChatCommand( "tpc", self.Plugin, "cmdTeleportCancel" )
    but it doesnt work... and I dont get any error... also, never coded in lua before lol
     
  17. I'm trying to use Teleportation System and the default cooldown for /TPR is 10 minutes i'd like to to be 30 seconds when i change it, it stays at 10 mins.
     
    Last edited by a moderator: Aug 13, 2015
  18. Been testing it on our test server you can easily do it the person who requests the TP just needs to be at their base with building privileges and tp to anyone's base. and the privileges follow. Can do this 100 percent of the time in our tests.
     
  19. Really hope Mughisi see's this soon kinda game breaking we have had to kill the tp's and arena's as they rely on this awesome mod to get our competitors in. is there any one else that can help me. we need to recheck building privileges after the teleport is complete. I am sub novice in LUA
     
  20. try this
     

    Attached Files: