I am looking for someone to contribute to my plugin. https://github.com/ItmanHunter/Currency
Feature to be added:
Custom Alias Add alias command to execute a bunch of commands
Explanation:
A yaml config file will store alias commands for example
-------------------------------------------------------------------------
giveMoney:
permission: "currency.alias.giveMoney" # could be any string
commands:
- "[CONSOLE] eco give #playerName 100"
pvp:
permission: "currency.alias.pvp" # could be any string
commands:
- "[PLAYER] warp pvp"
luckydraw:
permission: "currency.alias.luckydraw" # could be any string
commands:
- [CONSOLE] give %javascript_random_player% DIAMOND %javascript_randomintbetween_1,7%
- [CONSOLE] broadcast LuckyDraw Conducted
----------------------------------------------------------------------
Placeholders should be parsed first before command is executed.
My Placeholders include
#playerName - name of the player executing command
Then come Placeholder api placeholders
%[placeholder]%
For asConsole! The player in placeholder can be null
Note:
- Alias should refresh on reload, if the file is changed by user
- Should work on 1.8 - 1.15.2, please test it well
Terms of Service:
- No Service Teams, I am looking for individuals only
- Payment would be done only when your merge request is accepted
- Mention your terms of service first on thread
Feature to be added:
Custom Alias Add alias command to execute a bunch of commands
Explanation:
A yaml config file will store alias commands for example
-------------------------------------------------------------------------
giveMoney:
permission: "currency.alias.giveMoney" # could be any string
commands:
- "[CONSOLE] eco give #playerName 100"
pvp:
permission: "currency.alias.pvp" # could be any string
commands:
- "[PLAYER] warp pvp"
luckydraw:
permission: "currency.alias.luckydraw" # could be any string
commands:
- [CONSOLE] give %javascript_random_player% DIAMOND %javascript_randomintbetween_1,7%
- [CONSOLE] broadcast LuckyDraw Conducted
----------------------------------------------------------------------
Placeholders should be parsed first before command is executed.
My Placeholders include
#playerName - name of the player executing command
Then come Placeholder api placeholders
%[placeholder]%
For asConsole! The player in placeholder can be null
Note:
- Alias should refresh on reload, if the file is changed by user
- Should work on 1.8 - 1.15.2, please test it well
Terms of Service:
- No Service Teams, I am looking for individuals only
- Payment would be done only when your merge request is accepted
- Mention your terms of service first on thread
Last edited:
