Touchscreen Holograms
Maintenance-only mode
This plugin is no longer being actively developed. For now, it will be maintained to support the latest Minecraft version and to fix bugs, but no new features will be added and no support will be provided.
It is advised to switch to any other similar plugin that is being actively developed.
This plugin allows holograms to run commands when right-clicked by players.
Features
- Lightweight and easy to use.
- Commands options and variables.
- Bungeecord support (send players to servers).
- Support for multiple commands.
Video
Permissions
The only permission to use all the commands is touchscreenholograms.admin
Plugin commands
Command | Description |
---|---|
/touchscreenholograms or /touch or /th | Main command of the plugin. Shows info about it, the version and the developer. |
/touch help | Shows the main commands of the plugin. |
/touch add <hologram> <command> | Adds a command to a hologram. You can see the properties of the commands below. |
/touch remove <hologram> <commandIndex> | Removes a command from a hologram at the given index. You can see the index of the commands with "/th details". |
/touch details <hologram> | Lists all the commands associated with a hologram. |
/touch clearall <hologram> | Removes all the commands from a hologram. |
/touch list [page] | Lists all the existing touch holograms. |
Command types
By default, a command will be executed as the player who clicks. If you specify a prefix before the command (for example: "/touch add myHologram console: say Hello world") the command will have different properties.
console: <command>
The command is executed from the console.
op: <command>
The command is executed as OP.
server: <server>
Sends a player to a server, if using BungeeCord.
Example: /touch add myHologram server: hub
tell: <message>
Sends a message to a player, without using commands. Supports color codes.
Placeholders
You can use these placeholders in the commands, they will be replaced during execution with the current value.
- {player} The name of the player who clicked the hologram.
- {world} The name of world of the player who clicked.
- {online} Amount of online players.
- {max_players} - Max online players (server slots).
@DSH105 What method? I will use Asdjke's method (with a slime)
@lecraeman For the moment the command is run as player. There will be all the options of the commands in ChestCommands :)
Also, Is there anyway you can send me a download of this?
I would love to try it out!
@filoghost
I'd be ok with that. Just to be able to do it...
Also, I didn't see this, but will you eventually be able to specify what the command is run as(Like Op, Console, or Player), and will you add a player variable?
Competition! ;D
So are you going to use the method we used in HoloAPI to make the touchscreens? :3
@filoghost
Well for some people like me, I can use this for spleef. Have 4 one-man teams. I think it would be something cool but I see where you are coming from. Also, when you did damage indicators, there was the lag but I assume that it was the entities actually just falling that caused the lag. I was thinking the issue would happen like DI. Should have thought it through... :P
@Mre30
He is an amazing coder. Cant be denied.
HOLY SHIT... filoghost.. you're freaking nuts! xD
@Klausar No, sorry. Everyone would see the same item.
@Zendrex Ops, thank for the correction. I will not use packets, because you would have to calculate when a player enters in the range of an hologram, intercept and check all the packets, handle teleports...all this things would create some lag, and I think that is better an entity that actually does nothing (doesn't tick, there's no calculations) and I let the server handle the packets.
I know this isnt release yet, but in your short description you pur:
"This plugin allows you to bing commands to Holographic Displays' holograms when clicked. Compatible with Bukkit 1.7.X and 1.6.4."
Just a typo, but great plugin to come! Cant wait. Also, are you making all these into packets like you have with Holographic Displays for the entities and lag reduction?
Will you also add those flying items like in the video?