Minecraft version: 1.7. Suggested name: HelpMeStaff What I want: I searched around for a plugin like this, but they always end up way too complicate for such a small job. There are 2 pieces to this plugin, the first would be an extremely light weight way to ask any online staff member any sort of question. The staff would see the question pop up in chat and can message the person it was sent from, to answer the question. The second part is an extremely lightweight way to report a player. Much like the /ask message, the /report would just add a [name] variable. You cannot spam /ask and /report, so there would have to be a delay of 30 seconds. A notification sound will be sent to the recipient of a report or question (pling). The person reporting will see a confirmation message saying &aReport sent. or &aStaff will help you momentarily. Customisable messages for sent/received Ideas for commands: Ask: /ask [question] Would output '&c[player] needs help: &f[question]' to the recipient Report: /report [name] Would output '&4playerA &7has reported &4playerB' to the recipient /report [name] [reason] Would output '&4playerA &7has reported &4playerB &7for &c[reason]' to the recipient (both of the report commands would work with or without a reason) Ideas for permissions: - helpmestaff.report.send (be able to send a report with/without a reason) - helpmestaff.report.receive (be able to receive reports) - helpmestaff.ask.send (be able to ask a question using /ask) - helpmestaff.ask.receive (be able to receive the questions) When I'd like it by: ASAP! Feel free to ask question below if you need more details. Thank you so much in advance, - Jam
Thank you so much! I'm using 1.7 because of the PvP mechanics. My server is a hardcore competitive PvP server where people 1v1 to reach the leaderboards and strive to be the best. Blockhitting, jitter clicking, quickdropping are not available in the newer versions of minecraft and therefore do not attract these competitive players.
No problem! I'm done with the plugin I've not test it yet. Can you do this for me? Commands: /report <player> [reason] /ask <question> <> is requierd. Permissions: /report - helpmestaff.report.send receive report - helpmestaff.report.receive /ask - helpmestaff.ask.send receive ask - helpmestaff.ask.receive Download link: https://www.dropbox.com/s/3qxlr4p7zlzrnae/HelpMeStaff.jar?dl=0
Yes everything works just fine! There's only a grammatical error, you wrote 'report has been send.' when it's supposed to be 'report has been sent.' But could you please remove the notification 'You have been reported'? I don't want hackers to toggle there hacks when they saw that they were reported And could you please add a 30 second delay? As of right now players can spam the /report and /ask.
Oops.. Sorry I gonna remove that 'you have reported' section, and will add the delay! Updated version: https://www.dropbox.com/s/3qxlr4p7zlzrnae/HelpMeStaff.jar?dl=0 Changelog: Added cooldown (600 ticks = 30 sec) Removed the 'you have been reported' messages. Removed grammatical errors EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Thank you so much! Going to test now Edit: It appears that the 30 second delay is not working. The message 'you can't send a report right now' appears but the report still sends and says 'report has been sent.' And could you please capitalise the R in 'report has been sent'?
Eurgh I've forgot to wrote an '{'. Thats why the cooldown wont work) And I capitalise the R in 'report has been sent' Link: https://www.dropbox.com/s/3qxlr4p7zlzrnae/HelpMeStaff.jar?dl=0
Hmm.. I dunno. I've replace it to V2, maybe the link will work now: https://www.dropbox.com/s/136sh1t6nh3wk0u/HelpMeStaffV2.jar?dl=0
Yes everything works! Could you just add a 'Question has been sent.' when a player sends a /ask? After that I'll leave you alone
Haha, no problem! Here it is (hopefully), the last version: https://www.dropbox.com/s/i52mw00ifz8vhk7/HelpMeStaffV3.jar?dl=0
YES! Works, there's just no sounds for the /ask but that's fine if you don't feel like changing it again
No problem m8! If you want more plugins made by me, you can send an PM Edit: Don't forget the filled tag
There's plugins where you can convert back to the old 1.7 pvp mechanics but still be on versions such as 1.9 and 1.10 Here's one that I just found quickly (I didn't actually read anything about it, so it might not even be the right plugin lol) https://www.spigotmc.org/resources/better-combat.19439/ EDIT: @DSCxSander Do you think you could update this to work with Spigot 1.10 and have the chat messages configurable in the config.yml? Also, could you make the sound effects configurable too? By sound effects, I mean the sounds you hear when you receive a report/question and when you submit a report or ask a question - Separate sounds for each Keep in mind that you don't have to do this. This plugin just seems really useful and I'd love to use it on 1.9.4
@DSCxSander could you just please set the sound on the receive ask? It appears that you forgot to put it
I finnaly have some time to code! Is it still needed? Sorry for my late reaction! I've time for that now. Is it still needed?
@DSCxSander Great plugin, i just have some suggestions. I would suggest using a HashSet<Player> instead of a List<Player>, also use UUIDs instead cause if you rejoin the last player instance will become null and you will get a new one. Succesfully bypassing the cooldown. There is also no reason that the report and ask is static. You could also make the for loop much simpler Code:java for ( Player player : Bukkit.getOnlinePlayers()){ Player a = player;}
@JanTuck Not just bypassing the cooldown, it will also create a memory leak, since the JGC can't remove the player instance.
Hey do you mind making a 1.8 version of this and adding a config for messages w/ color code support please? @DSCxSander
@Leonator05 This does not use any NMS or versioned variables i dont see why it shouldn't be working on 1.8. Have you tried it?