5 posts
Posted 20 July 2015 - 11:11 PM
I know this is rather lazy but im busy setting up a mod pack as well as helping the Devs from MyTown2 And Forge essentials with bugs and dont have time to touch up on lua, so im asking kindly.
Could anyone provide a way of ranking a player/executing a command on screen touch?
Im wanting to have a screen that reads off the basica rules for my server, and have a basic [Accept] [Decline] buttons at the bottom, the Accept executing the command that will rank the person who touched it, and the decline kicking them from the server. Could this be done?
8543 posts
Posted 20 July 2015 - 11:22 PM
Moved to General.
3057 posts
Location
United States of America
Posted 20 July 2015 - 11:41 PM
AFAIK, there is no way to determine who touched a monitor. If a command block can kick a player, a computer can too. Personally, I'd doubt it.
I did play on a server which used CC for something like this, they had a password on page two of the rules list, and when you entered that password into a computer it would teleport you to the 'real' spawn, rather than the box-like room you originally spawn in. I'm sure they simply used a command block that teleported the nearest player.
5 posts
Posted 21 July 2015 - 12:32 AM
AFAIK, there is no way to determine who touched a monitor. If a command block can kick a player, a computer can too. Personally, I'd doubt it.
I did play on a server which used CC for something like this, they had a password on page two of the rules list, and when you entered that password into a computer it would teleport you to the 'real' spawn, rather than the box-like room you originally spawn in. I'm sure they simply used a command block that teleported the nearest player.
I wouldn't mind doing something like this, only problem is currently Forge Essentials is having a bug with setting spawn propperly.
3790 posts
Location
Lincoln, Nebraska
Posted 21 July 2015 - 12:43 AM
There's a few peripherals you can use that do this. Check out MoarPeripherals and OpenPeripherals
Edited on 20 July 2015 - 10:44 PM
5 posts
Posted 22 July 2015 - 12:06 AM
There's a few peripherals you can use that do this. Check out MoarPeripherals and OpenPeripherals
What exactly could be done in my case by adding these? (I have them on my solder already from previous versions).
1852 posts
Location
Sweden
Posted 22 July 2015 - 01:26 AM
What exactly could be done in my case by adding these? (I have them on my solder already from previous versions).
What he probably meant was that you can use the player detector from these mods.