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).
@ssamjh
having no issues with it on ours, latest spigot commit used?
Getting an error with the latest Spigot 1.8 build
http://pastebin.com/YzxSirkT
https://www.youtube.com/watch?v=7ItfB2mecnU
Can we change the messages like this?
When you make a hologram and you can add a website in it then you go to make it touch screen hologram is there a command to make it where it gives you the option of opening it like it would if it was in chat?
@filoghost
Please add permissions to everything. It'd be nice if you can give players permission for clicking on the holograms.
@filoghost Please add permissions to everything. It'd be nice if you can give players permission for clicking on the holograms.
@to175 Well, at least try to read the first line of this page before asking.
For anyone else: I'm not adding new features to this plugin. Holographic Displays has an API, you can use it if you are developers.
@to175
Its not a hologram plugin. It works with holographic displays... You can add "Touchscreens" to your hologram ...
Screenshoots please ? What are the differences with holographic display ?
@DeanAyalon
This is very easy.. It should be no problem for him ^^
@filoghost Hey
It would be so awesome if you could add an API ...I really wanna do a Sword Art Online plugin
if he dont have money doing the command free ...
Addition to my Post: I think adding Economy Support with Vault help, is it possible for you to do that? Thank you
Works perfectly, just one problem. I'm planning on making a Store out of those Holograms (Price and below the Floating ICON) When someone clicks the hologram, it does two Commands: Console: Eco Take {Player} X Console: Give {Player} ID 1
Problem is if the Player has no Money, it just gives him the Item, no questions asked.
Will you please add something like IF-Statements so when something that it checks is not right it won't do the Commands (If Balance equals $0) or that if one of the Commands doesn't work it won't do anything?
Or is there a way already? Please help me. Thank you, Dean.
@dddylan98
does it work like that? so the player can put in whatever he wants after the command, and it just executes after the player hit whatever he has as chat/cimmand send button??
would be great
@thief001
You could do console: sudo {player} <Command here>
It isn't /th create but it's /th add. The plugin is made to work with holographic displays so you don't create a touchscreen hologram but you actually add commands to a hologram created by holographic displays.
Just do /th add [hologram] [command]
Do not put a forward slash before the command unless it's a world edit command. Also make sure you check out the different command types.
why wont the /th create (<sub>,) command work it will tell me that , that is not a command plz help some one</sub>
Can you add the cooldown system for this plugin?
hi,
i wonder if there is a way to put a certain comand to the players chat, so he just has to finish what he wants?
usage:
im using papermail as ingame-mailservice, but anyone always has to tip in the entire command,even in the postoffice, so instead of typing in the entire command and the target user and the message, i would like to let touch fill in the commands and the target user, so the player only has to put in his message?