I'd go with 3 extra variables in config, one that decides if teleporting is blocked around a certain time of day (False by default), and 2 others denoting a server timeframe (start and stop hour) when teleport is not working. Say, 19:00 - 5:00 am

Magic Teleportation
Magical home/teleport system.
Total Downloads: 4,984 - First Release: Oct 28, 2015 - Last Update: Oct 27, 2017
- 5/5, 11 likes
-
Hello , anyway i can disable the plugin ? I mean calling a hook from my plugin . I curently disabled /tpr and /tpa with the zone manager but that doesn't affect the beds .
-
aren't /tpr and /tpa an entirely different mod? Looks like you're running 2 separate teleport mods.
-
Yes they are separate , but im blocking that with zone manager , i wanna be able to block this aswell with a hook or something .
Last edited by a moderator: Nov 21, 2015 -
If you don't want /tpr, delete m-Teleportation -
Oh it does ? Maybe i missed updating zone manager , ill be back in a bit with confirmation .
So im creating a zone with "notp " "true" attributes and i can still use /t home id . Anything im missing ?
[DOUBLEPOST=1448132981][/DOUBLEPOST]It only seems to work with building blocked
[DOUBLEPOST=1448134338][/DOUBLEPOST]Think i was missunderstood , i want that in certain areas made with Zone Manager any kind of teleport to be blocked , i don't wanna take out /tpr . Curently notp argument in ZoneManager only blocks /tpr and /tpa , but i don't know why it doesnt block /t home .Last edited by a moderator: Nov 21, 2015 -
How can people teleport to public tp spots ? btw replacing canTeleport with CanTeleport makes it work with zone manager( nogrod knew about this fix )
nvm got it
[DOUBLEPOST=1448456195][/DOUBLEPOST]Public tp system is not working properly , when you set cooldown in config its actually updating for the time it takes to tp away . After i tped to it once i cannot tp to it again
Code:Oxide] 12:55 PM [Error] Failed to call hook 'cmdHome' on plugin 'MagicTeleportation v0.8.0' (NullReferenceException: Object reference not set to an instance of an object) [Oxide] 12:55 PM [Debug] at Oxide.Plugins.MagicTeleportation.cmdHome (.BasePlayer player, System.String cmd, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.MagicTeleportation.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, 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: Nov 25, 2015 -
-
Hello , so players are getting damaged and sometimes killed im guessing because of lag or something , causing them to fall through structures . I'm thinking maybe an easy fix to that would be a delayed wakeup , like 3-4 seconds , to allow everything to render around them which would also prevent the bug which lets u see all chests by tping to a bed near it and also fixing the players getting dmged . The dmg thing would not be observed on an empty server cause redering is instant and lag is not existent , but in busy servers stuff like that happens .
-
-
Hi.
Before anything else, thank you for this great plugin.Last edited by a moderator: Dec 5, 2015 -
how do I write a publit tp
-
Should change to EntityOwners versus BuildingOwners since its updated more often.
-
Is it possible to allow only one spawn point?
-
-
Not sure why, players on my server are severely hurt after teleporting. Something deals 60-80% damage to them every time they jump to their bed. It happens regardless of whether the bed is on 1st floor, ground floor, or on open foundation. I kinda like it because I love seeing people get hurt but you might wanna look into it?
-
Norn updated Magic Teleportation with a new update entry:
0.9
-
the /t home command stop working on my server. it always tells me, that there are no homes yet. placing an new bed don't work.
the public system works fine. any ideas? -
how do i get it work?
whats the comand for allppl to use? -
http://i.imgur.com/C0M1YII.jpg Erroemessage