Nd_ Posted September 8, 2019 Share Posted September 8, 2019 make player execute command "/essentials:tp %{%player's uuid%.island.spawnx}% 200 0" with permission "essentials.command.tp" make player execute command "//schem load SkyblockIsland" with permission "worldedit.*" make player execute command "//paste" with permission "worldedit.*" When I run this without any permissions(and no errors) it gives me this Link to comment Share on other sites More sharing options...
Water Posted September 8, 2019 Share Posted September 8, 2019 When you make a player execute a command, it's like executing a command in your perspective. It doesn't make sense for you to not have a permission over something and the command is preventing you to run it, but you could run it by forcing a player to execute a command. That doesn't work like that. Link to comment Share on other sites More sharing options...
Nd_ Posted September 8, 2019 Author Share Posted September 8, 2019 22 minutes ago, Water said: When you make a player execute a command, it's like executing a command in your perspective. It doesn't make sense for you to not have a permission over something and the command is preventing you to run it, but you could run it by forcing a player to execute a command. That doesn't work like that. I'm confused Link to comment Share on other sites More sharing options...
Nd_ Posted September 9, 2019 Author Share Posted September 9, 2019 Bump Link to comment Share on other sites More sharing options...
Xeno_Synthesis Posted September 10, 2019 Share Posted September 10, 2019 Firstly, get skUtilities. It's very useful and important for this skript to work. Secondly, string <none> is displayed because you never set the variable for {%player's uuid%.island.spawnx} Lastly, change your code to this and it should work: make player execute command "/essentials:tp %{%player's uuid%.island.spawnx}% 200 0" as op make player execute command "//schem load SkyblockIsland" as op make player execute command "//paste" as op Link to comment Share on other sites More sharing options...
Nd_ Posted September 10, 2019 Author Share Posted September 10, 2019 19 hours ago, Xeno_Synthesis said: Firstly, get skUtilities. It's very useful and important for this skript to work. Secondly, string <none> is displayed because you never set the variable for {%player's uuid%.island.spawnx} Lastly, change your code to this and it should work: make player execute command "/essentials:tp %{%player's uuid%.island.spawnx}% 200 0" as op make player execute command "//schem load SkyblockIsland" as op make player execute command "//paste" as op Minehut doesn't have this plugin Link to comment Share on other sites More sharing options...
Nd_ Posted September 30, 2019 Author Share Posted September 30, 2019 I am reopening this case, please note that this isn't breaking Minehut rules, due to the post being inactive for 20 days, which isn't a month Link to comment Share on other sites More sharing options...
Tres Posted October 1, 2019 Share Posted October 1, 2019 2 hours ago, Nd_ said: I am reopening this case, please note that this isn't breaking Minehut rules, due to the post being inactive for 20 days, which isn't a month Basically, if you make a player run "/tp" then it is the same thing as if they ran "/tp" themselves, and if they ran it themselves, they wouldnt have permission to run it if they are an ordinary player. Link to comment Share on other sites More sharing options...
Nd_ Posted October 5, 2019 Author Share Posted October 5, 2019 On 9/30/2019 at 9:33 PM, Tresre said: Basically, if you make a player run "/tp" then it is the same thing as if they ran "/tp" themselves, and if they ran it themselves, they wouldnt have permission to run it if they are an ordinary player. UPDATED CODE: execute console command "/essentials:tp %player% %{%player's uuid%.island.spawnx}% 200 0" make player execute command "//schem load SkyblockIsland" with permission "worldedit.*" make player execute command "//paste" with permission "worldedit.*" So now it will tp the player, but won't load the schematic Also, Tresre, how do I make it so they have the permission to run it for that command? Link to comment Share on other sites More sharing options...
Tres Posted October 7, 2019 Share Posted October 7, 2019 On 10/5/2019 at 11:44 AM, Nd_ said: UPDATED CODE: execute console command "/essentials:tp %player% %{%player's uuid%.island.spawnx}% 200 0" make player execute command "//schem load SkyblockIsland" with permission "worldedit.*" make player execute command "//paste" with permission "worldedit.*" So now it will tp the player, but won't load the schematic Also, Tresre, how do I make it so they have the permission to run it for that command? Its the same thing as tp, you just need to install a permissions plugin and give them the permission "essentials.tp". Keep in mind that this is dangerous on a public server as it allows users to teleport to anyone or anywhere, as an op would. Giving them the permission to load schematics will also allow them to load any schematics at will. I would recommend finding a different way to do this, other than making the players execute the command. Link to comment Share on other sites More sharing options...
Criticyl Posted October 7, 2019 Share Posted October 7, 2019 For the tp, there is an alternative. You can use skript teleport to tp players which is far more efficient -------------------------------------------------------------[VIP] - 2018/2019 [JR.MOD] - 28th April 2019[SR.MOD] - 21st June 2019 [LEGEND] - 28th July 2020 (Resigned) ------------------------------------------------------------- Discord - Criticyl#0002 IGN - Criticyl Link to comment Share on other sites More sharing options...
Nd_ Posted October 7, 2019 Author Share Posted October 7, 2019 57 minutes ago, Criticyl said: For the tp, there is an alternative. You can use skript teleport to tp players which is far more efficient I've tried that, but the problem is that it uses a variable and some number, which last time I tried, didn't work. Link to comment Share on other sites More sharing options...
Nd_ Posted October 7, 2019 Author Share Posted October 7, 2019 On 9/30/2019 at 9:33 PM, Tresre said: Basically, if you make a player run "/tp" then it is the same thing as if they ran "/tp" themselves, and if they ran it themselves, they wouldnt have permission to run it if they are an ordinary player. After some research, I found that Skellet has this. Thanks! Link to comment Share on other sites More sharing options...
AWorthySon Posted October 8, 2019 Share Posted October 8, 2019 (edited) If you want to teleport a player to a location, (if you have 3 numbers) then type: teleport player to location at (x, y, z) in world "world" #For example: teleport player to location at (100, 45, 200) in world "server_pvp" #YOU CAN use Variables as well. In this case, Try this: teleport player to location at ({player's uuid%.island.spawnx}, 200, 0) in player's world I hope this will help. Edited October 8, 2019 by Creeper1841 Coding Syntax Oopsie Link to comment Share on other sites More sharing options...
Nd_ Posted October 8, 2019 Author Share Posted October 8, 2019 5 hours ago, Creeper1841 said: If you want to teleport a player to a location, (if you have 3 numbers) then type: teleport player to location at (x, y, z) in world "world" #For example: teleport player to location at (100, 45, 200) in world "server_pvp" #YOU CAN use Variables as well. In this case, Try this: teleport player to location at ({player's uuid%.island.spawnx}, 200, 0) in player's world I hope this will help. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now