The permissions worked! Thanks again!
My final issue is with the chat command you gave me. I need the command to warp a player from the server console, that's where the commands execute, not on the client, so the player name or id would need to be in the command
Warp System
Create warp points for players to easily teleport to
Total Downloads: 7,208 - First Release: Jan 8, 2015 - Last Update: Oct 27, 2017
- 5/5, 22 likes
-
I can add console commands.. i will try to work on them in a sec.
so
Console cmd:
warp.player to <WarpName> ? -
From ZoneCOmmand
You can use this variables in your commands:
Code (Text):
$player.name - Nickname
$player.id - Steam ID
$player.x, $player.y, $player.z - position
---------------
So I'm thinking on the server console:
warp.player <player.id> <WarpName>
Should work -
PaiN updated Warp System with a new update entry:
0.6.0
[DOUBLEPOST=1445031179][/DOUBLEPOST]Give it a try
-
When I use /warp I get
Code:[Oxide] 5:34 PM [Error] Failed to call hook 'cmdWarp' on plugin 'WarpSystem v0.6 .0' (IndexOutOfRangeException: Array index is out of range.) [Oxide] 5:34 PM [Debug] at Oxide.Plugins.WarpSystem.cmdWarp (.BasePlayer playe r, System.String cmd, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.WarpSystem.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo metho d, 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[]
-
PaiN updated Warp System with a new update entry:
0.7.0
[DOUBLEPOST=1445031657][/DOUBLEPOST]Now it should give the help cmds -
Works great thanks for the update!
-
When I put warp.player on the server's console I get command not found
-
its warp.playerto
-
its warp.playerto
-
That's what I used, the only typo was on the forum
[DOUBLEPOST=1445033585][/DOUBLEPOST]nevermind looks like I needed a server reboot!
[DOUBLEPOST=1445033621][/DOUBLEPOST]I will let you know how it turns out, I gotta run. -
awesome work! i was waiting for warp back config option :>
also the timer option is cool.
now it would just be awesome if you could add to config different warp for permission like vip.
and now i just have to wait that Teleportation Gets oxide Permissions too :>>> -
I will do it too.. today if i find some time.
-
PaiN updated Warp System with a new update entry:
0.8.0
[DOUBLEPOST=1445070057][/DOUBLEPOST]Done, you can try it ... just read the Instructions about the permission warps on the overview. -
PaiN updated Warp System with a new update entry:
0.9.0
-
Beautiful works this rewriting !
Can you add :
?Code:WarpIfBuildingBlocked = Convert.ToBoolean(GetConfig("Settings", "WarpIfBuildingBlocked", true)); ... ... ... if(WarpIfBuildingBlocked == false && player.CanBuild()) { SendReply(player, "You cannot warp while Building Blocked!"); return; } -
Yeah i thought about that and i had to do something else
I
will add this in a sec. -
PaiN updated Warp System with a new update entry:
1.0.0
-
Bugs & Requests
- warp points set for players can't be used by admins
- is there a way to set multiple group permissions ( VIP & Donator )
- can you add some of the messages back into the config
- I set the cooldown to 300 and it never lets a player us the command the timer stays at 299 in the message
- warp points set for players can't be used by admins
-
I've had no luck with adding any warp points, how can I add warps so all players can use them, please give me a written example.
![[₭4₱]Freddy Krueger[₭4₱]](/assets/styles/oxide/logo.og.png)