Request: Any chance you can integrated this with Reneb's Zone Manager so that the notp will stop warps too?
Warp System [Unmaintained]
Discussion in 'Plugin Support' started by PaiN, Nov 7, 2015.
-
-
I did test it. I have a zone with notp - /tpr and /home are blocked, but I can warp out. Even as a non-admin user. I posted on his Zone Manager plugin page too...
-
-
-
i am login to admin on my server and its says dont have permission to use command how do i fix it thanks
-
-
cant get it to work do i do oxide.grand then what ? sorry new to this all can you add me on steam CreepyNick thanks Steam Community :: CreepyNick
-
-
thanks so much man
[DOUBLEPOST=1449999535][/DOUBLEPOST]is this right because its not working /warp add <Small> <60> <0> <50000> <all>
[DOUBLEPOST=1450002669][/DOUBLEPOST]go
-
Show me your data file located at oxide/data/WarpSystem.json -
{
"WarpInfo": [
{
"WarpName": "Small",
"WarpId": 1,
"WarpX": 6008.651,
"WarpY": 383.335663,
"WarpZ": -3633.94824,
"WarpPermissionGroup": "all",
"WarpTimer": 10,
"WarpMaxUses": 500,
"WarpCreatorName": "CreepyNick",
"RandomRange": 0
},
{
"WarpName": "Small1",
"WarpId": 2,
"WarpX": 6073.069,
"WarpY": 379.78775,
"WarpZ": -3652.582,
"WarpPermissionGroup": "all",
"WarpTimer": 10,
"WarpMaxUses": 500,
"WarpCreatorName": "CreepyNick",
"RandomRange": 0
}
],
"cantele": {},
"lastposition": {
"76561198139798757": {
"OldX": 6077.85,
"OldY": 379.1611,
"OldZ": -3645.55273
},
"76561198088299083": {
"OldX": 6490.69775,
"OldY": 368.065643,
"OldZ": -4369.25
}
},
"maxuses": {
"76561198139798757": {
"Small": 3
},
"76561198088299083": {
"Small": 4
}
}
} -
-
-
Is it possible to assign a warp to more than one permission group?
-
-
deleted
-
Hi PaiN - coming back to rekindle the discussion/request on integration with Zone Manager for "notp" - Reneb provides an external function call in Zone Manager that can be used to check if "notp" is set in the zone the player is currently in and cancel the warp request. This is how it is done in the Teleportation Request integration with Zone Manager.
Would you be willing to take another look at integrating Warp System with this functionality?
Here is the code in ZoneManager that allows for external calls in to check:
/////////////////////////////////////////
// canTeleport(BasePlayer player)
// Called from Teleportation System (Mughisi) when a player tries to teleport
/////////////////////////////////////////
object canTeleport(NetUser player)
{
if (hasTag(player.playerClient, "notp")) { return "You may not teleport in this area"; }
return null;
}
Here is some code from Teleportation Requests that checks for "notp"
object thereturn = Interface.GetMod().CallHook("canTeleport", new object[] { netuser });
if (thereturn != null)
{
SendReply(netuser, "You are not allowed to teleport from where you are.");
return;
} -
-