Admintp (/tp,/tpsave, /tpl) using the permission system instead of using the players authlevel
Teleportation System [Unmaintained]
Discussion in 'Plugin Support' started by Mughisi, Oct 18, 2014.
-
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? -
Where do i remove the homes set by a user?
-
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 -
thank you for all your help k1lly0u.
-
-
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.
-
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?
-
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! -
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
-
Code:
[Oxide] 11:53 AM [Warning] CallHook 'OnEntityTakeDamage' on plugin 'Teleportation System' took: 646ms
-
oxide.grant group mod Admintp not work... Permission 'Admintp' doesn't exist
-
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
Last edited by a moderator: Aug 12, 2015 -
Wulf Community Admin
[DOUBLEPOST=1439399350][/DOUBLEPOST] -
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 -
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
Code:command.AddChatCommand( "tpc", self.Plugin, "cmdTeleportCancel" )
-
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 -
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.
-
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
-
try this
Attached Files:
-