NOTICE!
All developers interested in this project must fill out a form to be considered. The form is at the bottom of the original post.
All developers interested in this project must fill out a form to be considered. The form is at the bottom of the original post.
Hello! I'm looking for a developer to program a plugin called "Placeholder Creator" that lets server owners add constant server placeholders using PlaceholderAPI like this config example:
YAML:
server-placeholders:
- 'test_one':'hello world!'
- 'test_two':'&4&lColor codes work!'
- 'test_boolean':true
- 'test_int':1846
- 'test_float':563.2
The plugin also allows someone to change placeholders live with a command like
Code:
/phc set test_one hello world, again
Code:
/phc add test_int 59
/phc subtract test_float 23.4
/phc toggle test_boolean
After these example commands are done, the placeholder "test_int" would now be 1905, and "test_float" would be 586.6. The placeholder "test_boolean" would've been toggled from true to false. If done again, the placeholder "test_boolean" would've been toggled from false to true. These placeholders stay the same after they are changed, even after reload or restarts. The placeholders are stored locally, not in a MySQL database or an SQLite database. This plugin also has the capability of creating per-player placeholders. Here's an example from the config:
YAML:
player-placeholders:
- 'user_test':'test variable'
- 'user_test_two':'&e&lColor codes still work!'
- 'user_test_boolean':true
- 'level':236
- 'balance':563.2
These placeholders would be the default placeholders when they are assigned to a player. Server owners can edit them with commands, just like server constants. These same commands could be done to edit these placeholders, just like these examples:
Code:
/phc set user_test w1nst0n helllooooo!
/phc add level w1nst0n 59
/phc subtract balance w1nst0n 23.4
/phc toggle user_test_boolean w1nst0n
The placeholder "user_test" would become "helllooooo!", "level" would become 295, "balance" to 539.8 and "user_test_boolean" to false. These placeholders would be changed for the player "w1nst0n" only. All the other players would have their respective placeholders set to what they were before. These placeholders stay the same after they are changed, even after reload or restarts. The placeholders are stored locally, not in a MySQL database or an SQLite database. Server staff/owners/developers can parse placeholders from PHC by doing this command:
Code:
/phc parse test_one
/phc parse balance w1nst0n
In addition, plugin settings would be available in the first section of the configuration file:
YAML:
settings:
player-placeholders: true # Enables or disables player placeholders.
server-placeholders: true # Enables or disables server placeholders.
command-reload: true # Enables or disables /phc reload, which reloads the plugin and updates/adds/removes placeholders in the config files.
command-overall: true # Enables or disables /phc overall.
command-permission: 'phc.admin' # Allows server owners to use the /phc commands if they have this permission.
permission-placeholders: true # Enables a feature where players can use the placeholder %phc_has_permission_[PERMISSION]% to return a boolean to see if that player has that specific permission.
Lastly, you are about to change any message the plugin sends inside of the messages.yml. Here's the order of the configuration file:
- Settings (config.yml - contains author credits)
- Player Placeholders (player_placeholders.yml)
- Server Placeholders (server_placeholders.yml)
- Messages (messages.yml)
If you would like to develop this plugin, please fill out this form. The best applicant will be chosen. All other replies to this thread about invitations to other services will be ignored. You must fill out the form to be considered as a developer for this project. Thank you!
NOTICE!
All developers interested in this project must fill out a form to be considered. The form is found in the first link above this notice.
- Type
- Requesting
Last edited:
