Plugin category: Roleplay / Economy Minecraft version: 1.13.2 Suggested name: PayTo What I want: I'll try to make this as simple as I can; If you type /payto or /pt, while looking at a player, you can pay the player in front of you any specific amount. So once again, if I were to look at some player, and type /payto or /pt 100, it'd pay them. Ideas for commands: /pt | /payto Ideas for permissions: payto When I'd like it by: Whenever
Going to have a crack at this - will be a good chance to have a go at hooking into Vault (on that note, you'll need to run Vault in you don't already). I'm assuming you won't need a config or anything?
Turns out this is actually harder than it sounds since the Bukkit API offers no way to see what entity the player is looking at. There are a few ways to solve this, but all have their drawbacks and can be somewhat innacurrate. If you're OK with some inacuracy, I could always add a command like "/confirm" so they know they're looking at the right player? Although at that point it'd just be easier to use the traditional "/pay <player> 100". @Y1ght
Uh the reason this is hard is seeing a players username is a bit harder since usernames are only really only shown as a nickname in chat. And sometimes people have their nickname as something else. A way around this is the confirm thing, if you could possibly make a config actually for this, for editing this message, that'd be cool. Are you sure you want to pay <Player> <Amount> ? Confirm Make the "confirm" clickable, and make it where if you click it, you'd have to send another request to send more, if this would be a problem, just leave it where you can click it as many times as you can. Make the message show up in red and the confirm in green, the color codes are: &c for red &a for green Also if you could hook placeholders into this? I'd really be appreciated if you did that because I really want to edit the message instead of <player> to a different thing so it makes it more clear for the player(s) if you get what I mean.
Alright, I've made this plugin for you. Let me know if you need anything changed <Edit by Moderator: Redacted not allowed paid resource url>
I'm bumping this thread, yes, it was made for me but it does not have the specifics I am looking for.
This is the plugin So you need vault and a currency plugin for this plugin to work. Commands: /payto [number] - Permission: payto.paycmd /payto reload - Permission: payto.reload Like the player carry plugin you can modify the radius to send the money and every message is configurable