Minecraft Mods

[PLUGIN] InSignsPlus - per user sign messages. 100+ placeholders.

  • 5,248 views, 1 today
  • 195 downloads, 0 today
  • 8
  • 8
  • 14
Empire92's Avatar Empire92
Level 64 : High Grandmaster Batman
133
Signs can now display updating , user specific sign messages (such as your money). Choose from 100+ placeholders or make your own!

[Overview]



- Allows you to display text on a sign that is different for each player looking at it.
- Create signs with custom {placeholders} simply by typing them on the sign.
- For example; {player} will turn into your username.
- Create your own placeholders, or download additional ones.
- Placeholders contain information such as your current balance or the held item.
- Placeholders can be updated automatically (default once per second)
- Alternatively you can right click the sign to update it.
- You can find a list of placeholders below.

[Dependencies]



This plugin requires the several other plugins to function correctly:
ProtocolLib (used to update the packets)
Vault (used for permissions, economy and chat integration)

[Commands]

CommandDescriptionPermission
/isp setline <index> <value>Set a line of a signinsignsplus.setline
insignsplus.setline.override
/isp help <placeholder>Describes the function and usage of the placeholder
/isp list <page>Lists the placeholders for this plugin
/isp saveSaves the plugin datainsignsplus.save
/isp reloadReloads all configurationinsignsplus.reload
/isp enableEnable a disabled placeholderinsignsplus.enable
/isp disableDisables a placeholderinsignsplus.disable

[Permissions]



insignsplus.create - allows you to use all non whitelisted placeholders
insignsplus.create.* - allows you to use everything
insignsplus.create.<placeholder> - allows you to use a specific placeholder.

[Placeholders]



- {player}
- {world}
- {x}
- {y}
- {z}
- {lvl}
- {exp}
- {money}
Click here for a detailed list.

[Scripting]



- Custom placeholders go in the folder ".../plugins/InSignsPlus/scripts/"
- Any additional placeholders will go there.
- To add your own copy the default template "example.yml"
- The placeholder for "example.yml" would be {example}


script:
- if {hasperm:hello}
- return &1Hello!
- else
- return &4Bye!


- Please visit the scripting page for more info.

[API]



The API allows you to create auto-updating placeholders without having to worry about all the protocol stuff: - Click here for the developer API

[Performance]



- The plugin only updates packets when the server has a high tickrate.
- The updates occur on a separate thread.
- Only certain whitelisted placeholders are updated.
- You can configure how many signs can be updated at one time (default 1000).
- You may change the update interval (default 1 second).
- You can also simply disable auto-updating if you don't think it's necessary.

[Configuration]



- All configuration can be done through the config.yml


autoupdate:
updates-per-milli: 1 #How many signs should be updated per millisecond
enabled: true #Wether auto-updating should be enabled
interval: 1 #How often should the signs be updated
buffer: 1000 #The maximum number of signs to update per interval
whitelist: # A list of placeholders to update (you can add your own)
- dead
- sleeping
- etc...


To get a placeholder to autoupdate, simply add it to the "whitelist" in the config.yml

[Images/Video]



Example

[Useful Links]

Developer -API

Screenshots

- InSignsPlus on GitHub

[Other Projects]

- SignRanks

- CompassModes

- WorldeditRegions

- VoxelSniperRegions

- AdvShop

- IndividualMessages

- IndividualHolograms



View detailed stats
Progress100% complete
Game VersionMinecraft 1.7.8
Tags

4 Update Logs

Update #4 : by Empire92 05/06/2014 7:02:06 amMay 6th, 2014

Updates 0.5.0 -> 0.7.9

0.5.0-0.5.1
- Added {playerlist} - a list of offline players
- Added {grounded} to test if a player is touching the ground
- Added {passenger} which returns the current vehicle, or false
- Added optional support for offline players
- Offline player getters will not work with older versions of bukkit (and protocolLib).
- Changed compile settings.
0.6.0-0.6.4
Recoded sign evaluation to now keep track of the block interact location
Added placeholder {uses} - which will return the number of times a sign is clicked
You can use {uses:8} to have the clicks cycle between 0-7
Added placeholder {msg:ID} to get a message from the language file.
e.g. {msg{uses:8}} will have a message board which will loop through messages 0-7 in the set language file.
- updated imports to work with 1.7.5
- {display} can now get the display name of an offline player if you have essentials.
- Fixed {time} and {time12} not returning the correct hour
- Added {localtime} and {localtime12}
New placeholders
- {location} and {location:player} which will return a string list containing the location
Fixed some existing placeholders returning the wrong value.
Fixed a bug where having multiple players in the same are would prevent the signs from updating.
Fixed a bug with placeholders longer than one line sometimes cause an exception
Fixed a bug with if statements comparing strings when it shouldn't
Fixed a bug with comparing strings not returning the desired result
Fixed a bug with 12 hour time not being entirely correct.
Fixed a bug with custom placeholders not recognizing modifiers.
Fixed a bug with true not being considered true (somehow???)
Added new placeholders
- {line1} (line 1 of the sign)
- {line2}
- {line3}
- {line4}
- {sectotime} (converts seconds to friendly time)
Fixed a bug with InSigns not updating.
0.7.0-0.7.9
- Recoded API to support the transition of additional methods
- Permissions for individual, non whitelisted placeholders will soon be added.
- Backwards compatable.
Added new methods
- ISP.getUser();
- ISP.setUser();
- ISP.getSender();
- ISP.setSender(); -> should be avoided...
Added API
http://dev.bukkit.org/bukkit-plugins/isp/pages/api/
Added permissions:
- insignsplus.create
- insignsplus.create.whitelisted
- insignsplus.create.
Slightly faster
- Translated all but a couple placeholders to the new API
Added new methods
- ISP.addPlaceholder(key); (will enable a disabled placeholder.
- ISP.defaultPlaceholders();
New commands
- /isp list
- /isp disable
- /isp enable
Added additional methods to the API - getPlaceholderKeys Added new placeholder - {date} Use double backslash n for newline

\n

Added - {isclick} placeholder
API changes:
- Added SignUpdateEvent (if you don't want to use placeholders)
- Restructured custom placeholders
Hooks into IndividualMessages (0.1.3 possibly?)
Added getDescription to placeholder class
New command /isp help - shows the placeholder description

Fixed a bug with signs not updating if multiple people are in the same area
Fixed the event system not working properly
Added unicode placeholder (more coming)
- {u:HEX CODE}
Signs now update on left click
Reduced the chance of a "Cannot locate sign X,Y,Z" client side bug.
{money} is rounded and no longer returns in scientific notation.
Vault is no longer required
- Many placeholders (which depend on vault) will not work if you don't install it.
- It will warn you when you enable the plugin if vault is not enabled
Rather than getting some severe exception, you are warned politely that the plugin is disabling itself if you do not have ProtocolLib installed.
Added new command /isp setline
- perm: isp.setine
- perm: isp.setine.override
- To add to a line rather than replace use /isp setline {line} - where is the text you want to append
- This command is useful when wanting to insert unicode to a sign
Added "description" option to custom placeholders - for /isp help and ISP.getDescription(...)
Added "elevation" option to custom placeholders - which decides how to evaluate a placeholder
Custom placeholders are now recognized as placeholders by the API
- Now you can use /isp
Fixed return not working properly for console
Fixed \n not splitting the lines on a sign when using "return" for a custom placeholder
Fixed "/isp reload" not reloading custom placeholders properly
Fixed the event system not working properly (again!)
Some features of the plugin can now work if you do not have ProtocolLib installed (INSTALL IT!)
Updated the included files to reflect the aboce changes
Fixed a minor bug with world changing.
LOAD MORE LOGS

Create an account or sign in to comment.

1
01/28/2014 6:24 pm
Level 52 : Grandmaster Architect
Suspence1127
Suspence1127's Avatar
Cool!
1
01/28/2014 2:38 pm
Level 26 : Expert Grump
IceCream_Sundae
IceCream_Sundae's Avatar
The sign should say "Your age is _____ (in seconds)" or "You are _____ seconds old!". You combined them, probably unintentionally, to make "Your are _____ {age} seconds old!"..
Just a think I noticed.
1
01/28/2014 3:18 pm
Level 64 : High Grandmaster Batman
Empire92
Empire92's Avatar
It was intentional. If you look at the background of the next pictures you will see that it is replaced by an auto-updating number e.g. "You are 15 seconds old.
1
01/29/2014 7:35 am
Level 26 : Expert Grump
IceCream_Sundae
IceCream_Sundae's Avatar
But it says "Your are _____ seconds old!"
1
01/28/2014 12:28 pm
Level 1 : New Miner
anonpmc1091743
anonpmc1091743's Avatar
[deleted]
1
01/28/2014 12:25 pm
Level 27 : Expert Taco
spike43884
spike43884's Avatar
Its a brilliant idea, But heres some suggestions, First off make it work without the requirement of other plugins/mods AND try to configure it over to a mod. so that players dont have to install it, itll just be there, Abit like the colour signs PLUGIN
1
01/28/2014 12:27 pm
Level 27 : Expert Taco
spike43884
spike43884's Avatar
Also a continuation of previous post: Maybe use a thing the server owner can fill in, to state which plugins are installed, And if its on the list of supported plugins itll support it...E.g. lets say a server has ICONOMY, and NOOB1 walks into the bank, on the sign it may say:
Welcome NOOB1
You Have : £100

How itd be put into sign is
Welcome [PLAYER]
You Have : [ICONOMY]
1
01/28/2014 3:16 pm
Level 64 : High Grandmaster Batman
Empire92
Empire92's Avatar
Welcome {player}
you have {money}

should do the trick. I could possibly make vault not required, however I do not want to steal any code from the plugins it currently uses.
1
01/29/2014 1:15 pm
Level 27 : Expert Taco
spike43884
spike43884's Avatar
Maybe put them inside the package...So within the download say it comes with the nessisary plugins and list the plugins...
But it would be nice if it supported that >:D
1
05/07/2014 7:53 am
Level 8 : Apprentice Miner
anonpmc856928
anonpmc856928's Avatar
[deleted]
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome