Touchscreen Holograms
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).
@Zarkiel7
Hmm. I don't have that problem. Through I set the difficulty for my plot world, and set monster and animal spawning to false, and it still works fine. I haven't had any problems with that.
I don't know how you would fix it through.
@TheCoolGuy123_5_Minecraft_
instead i have started to just use each plugin's personal reload system, everything seems to be working fine now, only problem is i cant have monster-spawning set to deny on my worldguard region because touchscreen holograms are entities.
@Zarkiel7
So reloads are causing them to break?
And restarts its fine?
Reloads have a higher chance of break plugins or crashing the server.
I recommend to restart the server, or get a plugin called Plugman and do /plugman reload <PluginName>. It works 95% of the time.
whenever i reload my server, all Touchscreen holograms stop working... [Edit] Restarts return them to full function, but this is still very annoying.
You can only set commands for the whole hologram, not for a line.
How would I do it If wanted something like this:
^
something here
something here
V
I want the ^ and V only, but its hard to line it up.
Video Tutorial on the Plugin
https://www.youtube.com/watch?v=2Uh6Zz7d14A
Credits Video: (AbsintoJ/Touchscreen Holograms)
Using the '/th listcommands' command returns this error: http://pastebin.com/35qGQgi7
You should add an API for developers on this plugin :)
Great plugin!
For some reason, whenever I set a hologram to send a player to any server (even if it's the current server the player is on), it sends them to my default "faction" server. And yes, I am using BungeeCord
@Cuaris94
theres an option in your essentials file that doesnt let balances go below 0
@MCMastery
v 1.1.1 works for 1.7.8+
ADD an Hologram SET PRICE!! If you dont have enough balance then you cant access to the command in the hologram, I know you have the /eco take player, but if the player has $10 and if the command cost $100 then the player 'll have -$90 thats why you need a /setprice command on each hologram. Only an Idea.
Is a nice<3 Plugin!
Please update to 1.7.7+!
@frol1
yes it's a good idea,i suggest you to add that to support bungeecord player online ;)
Can you make it so that the TouchScreen holograms can also be spawned in WorldGuarded areas with flag "mob-spawning" disabled?
Is there a way to add variables to the displaying text?
So I could make a hologram that said
~ edit ~ Ok so I was able to make it display online players and max amount, but it displays for the server its on, Is there a way to make it hook in to bungee and use another servers stats?
Hi!
op: and console: didn't work for none OP players. "You do not have access to that command"
database.yml
warp_shop:
commands:
- 'op: warp shop'
- 'tell: {player}, bienvenue aux shops des joueurs!'
- 'tell: L''achat d''un shop se fait auprès d''un admin pour 100€.'
sun:
commands:
- 'op: weather sun'
- 'console: weather sun'
PS: tell: works
Touchscreen Holograms v1.1
@filoghost
Running latest builds on both plugins and it's still resetting the commands on a restart.
Awesome plugin <3