InfoButton

InfoButton
Quote:Want to save a million signs at your spawn point explaining rules and info? Well, now you can have a simple button! Press it, and it will either show the user text, in colour format which you define in a text file. Or run a command. Simple but effective!
![]() | Version | InfoButton-2.1-R1 |
![]() | Bukkit Release | 1.3.2-R0.1 |
![]() | Requires | (Without Vault 'InfoButton' will disable on its own!) |
![]() | Development Builds | ![]() |
![]() | Javadoc API | ![]() |
![]() | Source code | ![]() |
How to set up
Run a command
- Place a button
- Look at the button and type /ib create
- Still looking at the button, type /ib command <command> <args> (Do not include the /)
Read a file
- Place a button
- Look at the button and type /ib create
- Create a file with the text inside and upload to plugins/InfoButton/infoBooks/ (Make sure it has no spaces in the filename, and it is a .txt)
- Still looking at the button, type /ib file <filename> (Do not type the .txt) Note: You may use colours, bold, underline, strikethrough in the txt file. To do this, use &a, &b etc for colours, &o for bold, etc


















-
View User Profile
-
Send Message
Posted Sep 12, 2012I downloaded #11 from the dev build page, but normal players still can't use buttons. I also tried adding the infobutton.use permission to their group, but it still won't work. Any ideas on how to make it work?
EDIT: Actually, re-making the buttons and reloading a few times seemed to fix it, never mind.
-
View User Profile
-
Send Message
Posted Sep 10, 2012@TruDan97
Whaat are Meeeetrics Daann?
-
View User Profile
-
Send Message
Posted Sep 9, 2012To fix the permissions bug...
If you are getting the bug where after reload the buttons say "You don't have permission" then either: Download #10 (or later) of the development builds, and use that.
Or
Add this to your config
(Note, if possible... Update to #10 or later, because it uses Metrics :) )
-
View User Profile
-
Send Message
Posted Sep 9, 2012@Rasta_Dash
./reload must be the worst way to reboot the server, because it doesnt shut down the plugins properly. You should always stop and restart. Although, strangley enough. When i was testing the plugin for that specific thing (save and loads) it worked fine for me, just that they were in a slightly different order... If you are still online, im on for another 30mins or so, so if you pm me your server ip. i'll come and talk to you on there, its easier
-
View User Profile
-
Send Message
Posted Sep 9, 2012I have another problem, everytime I reload the server , the buttons "reset" or something and other users can't read files and use the commands vinculed to the buttons, then I remove the button and set it again and it works like before...
-
View User Profile
-
Send Message
Posted Sep 9, 2012@Rasta_Dash
infobutton.use This page was supposed to have been updated. Apologies.
-
View User Profile
-
Send Message
Posted Sep 8, 2012I have a problem, what's the permission node that I need to give to let someone use a button ??
-
View User Profile
-
Send Message
Posted Sep 7, 2012@beanssprout
I think Citizens does this. Lookup Citizens 2 :)
-
View User Profile
-
Send Message
Posted Sep 6, 2012Would be nice if you can also create an NPC and you right click them to show the message. ;]
-
View User Profile
-
Send Message
Posted Aug 29, 2012@Adzwoolly
Coming in v2.0 of the plugin. My laptop is not the ideal system for coding as it takes literally 1min per line of code :/ im currently building my computer right now so should not be too long.
-
View User Profile
-
Send Message
Posted Aug 28, 2012@TruDan97
What about running as console?
-
View User Profile
-
Send Message
Posted Jul 10, 2012@Trusebruse
I am not too sure how to implement this. The only was i can think of is by forcing the player to type a command, which they would need the permission for. Without that, it would be manually hooking into all plugins
-
View User Profile
-
Send Message
Posted Jun 29, 2012you should make that someone that dont have permission to perform, exaple /toggledownfall can perform the command if they do it with an infobutton. So everyone have perms to perform a command with a button but not if they write it.
I know that this can work because CommandSigns got this feature.