Pay4Tp
This is my first plugin. I made it for me and my friends, but i decided maybe someone else will find it useful. This plugin allows you to set teleport destinations, and set how many TpPoints it will cost to teleport to there, by the distance the player is from the destination. Don't expect too many updates, although I will probably add support for some economy plugin. If someone suggests a feature, I will be more likely to add it, so feel free to leave suggestions in the comments.
Commands
- /addPayedTp <name> <block distance payment starts at> <payment distance> <tppoint amount per payment> - Will add a new tp at current location. Eg: /addpayedtp myTp 10 5 2 - Will add a tp location named myTp, anyone within a 10 block radius can teleport for free, anyone out of the radius will pay 2 tppoints for every 5 blocks of distance they are from the tp location.
- /tp <name> - Teleports you to specified tp.
- /tppoints - Tells you how many points you have.
- /buypoints <amount> - Buys tppoints with the specified amount of iron.
Config
- usePublicTppoints - If you are playing in a small group you might want the tppoints shared between everyone. "true" for yes "false" for no
- tppointsPerIron - How many tppoints does every iron ingot give you.
Permissions
- pay4tp.addTps - Use the addPayedTp command.
- pay4tp.tp - Use the tp command.
- pay4tp.tppoints - Use the tpPoints command.
- pay4tp.buypoints - Use the buyPoints command.
Comments