Filled Descriptions!

Discussion in 'Plugin Requests' started by Taco0, Jan 16, 2021.

  1. Offline

    Taco0

    Plugin Category: Roleplay

    Minecraft Version: 1.13.2

    Suggested name: RPDescriptions

    What I want:
    I want a player description plugin of the following;
    If you right-click a player, it'll show up in chat the following:
    &7Character-Description:&f {description}
    &7Username: &f{username}

    If the player has no description, set the default to;
    "No Description Set" for the players without descriptions.
    Save the file in YML format and use UUID's and not Usernames so they stay when changing usernames.

    Allow me to edit this in the config, try adding PAPI support.
    Editing the default message and formatting of the description.

    To set a description, the player must type /setdesc <description>
    For admins to force-chance a description, they'd type /forcedesc <username> <description>
    Another admin command will be /descremove <username> to set it to the default description.

    Allow descriptions to go to max Minecraft regular chat.

    Allow of bukkit color-codes, but with permission.
    RPDescriptions.color

    Ideas for commands:
    /setdesc <Description>
    /forcedesc <Username> <Description>
    /descremove <Username>

    Ideas for permissions: RPDescriptions.color | RPDescriptions.forceset | RPDescriptions.forceremove
    Make the all normal commands work without permission.

    When I'd like it by: This weekend please.
     
  2. Offline

    Taco0

    bump
     
  3. Offline

    Texxyy

    Gonna try and work on this now, I will keep you updated :)
     
  4. Offline

    Texxyy

    Hello, I have done mostly what you have requested, please note that and I am not finished with this plugin, I will be updating it later in the future as there are still some things I need to fix, but it currently works fine from what I can see, now I did not add in the remove command as I feel it will be more convinient to do /setdesc <player> with no text provided at the end in the command will reset/delete the player's description and I have set that up completely, I have also added in a /desc <player> command, running that command will display the player's description without right-clicking them, I did add in the right-clicking feature and added in lot's of confuguration for it, (if you wish for any thing to be removed or added just let me know), it has got most of the features you have requested, I have not yet added in PAPI support but like I said I plan to continue to update this plugin for you, if you have ANY issues, please tell me so I can fix it for you ASAP. Thank you :)


    You can download the plugin <Edit by Moderator: Redacted not allowed paid resource url>
    I have uploaded the plugin to Spigot so it is easier for me to update it for you.
     
    Last edited by a moderator: Feb 5, 2021
  5. Offline

    Taco0


    Sorry, I have forgotten to ask for /viewdesc, I know you have the other command, but if a player types /viewdesc it'd view their own description! I find this command easier to do, if you could do that and add papi, that'd be all I need, thank you! Also, I right click on a player and it doesn't work?
    EDIT: On start it didn't work, but after reloading it worked...? Also it double posts it in chat
     
    Last edited by a moderator: Feb 5, 2021
  6. Offline

    Texxyy

    Hello, thank you for your feedback. It is currently late and I am tired but I will do this for you tomorrow, should have it done by tomorrow afternoon. If you need anything else don't hesitate to ask :)
     
  7. Offline

    Texxyy

    Oh, so this is how you reply. Anyways, I am so sorry but I had a power outage. It seems to be fine now though. Now I was able to do the /viewdesc, but I have not yet made it PAPI supported, should have that done later tomorrow for you :) Again I am so sorry about this. Just letting you know of why I have not gotten back to you, have a nice day/night [cake]
     
    Last edited: Jan 26, 2021
  8. Offline

    Taco0

    Thanks for working on my plugin request! This means a lot and I thank you for working on it and for adding all the things I have requested! Have you looked into that duplication on right-click? For me when I right clicked on a different player it showed it twice in chat. Just wanted to inform you! Once again, thanks- and no worries about the power outage, my friend had the same issue.
     
  9. Offline

    Texxyy

    Oh? I was not aware of this, it was working fine on my server, I will look into this soon, having a bit of trouble with the PAPI as I have not worked with PAPI before so it might take some time, but other than that I will look into this issue and get back to you soon, sorry about the delays [diamond]
     
  10. Offline

    Taco0

    I completely understand- take your time, I really appreciate you for doing this!
     
  11. Offline

    Texxyy

    Thank you for understanding. Now I think I added in PAPI support, but I am unsure as I cannot test it as for the past 2 days the hosting I use for my servers are currently down so I was not able to test anything so I do not know if it worked, I tried using a localhost server but all the plugins that supported PAPI that I put in so I could test it just spammed errors in the console, so I do not know how I would test it nor do I know when the servers are gonna be back up. I also do not understand why it would send 2 messages as I did not see anything in the code that would cause it to do that, if I could have some more information that would be great, so sorry about all this just really bad timing, would you like me to send you it to see if it works or wait for my servers to come back online? Up to you :)
     
  12. Offline

    Taco0

    No worries what so ever! If you'd like to send it and I can let you know that would be amazing!
     
  13. Offline

    Texxyy

    Hello, I got in contact with the support team and my servers will be back up by tomorrow, they said it was down due to an error on their system so they had to do an emergency maintenance, but since it is going to be resolved by tomorrow I will be able to test it then if there are any issues, but here is the plugin, if you run into ANY issues don't hesitate to let me know and I will fix it ASAP, sorry I am a little anxious as I haven't run any tests so I do not know if it will work or not, if any errors will occur, etc, but from looking at the code it should work, but here is the plugin, so sorry about the wait, like I said before it is just isn't the best timing. Thank you so much for understanding [redflower]
     

    Attached Files:

  14. Offline

    Texxyy

    Hello, please ignore my last message as PlaceholderAPI does not work on that version I sent, my servers came back up and I ran some tests and PlaceholderAPI did not register on that version, I did fix this but I was unable to test to see if the placeholder "%rpdescriptions.desc%" works (That placeholder will display the player's description) as for some reason none of the supported plugins worked, I do not believe this is due to RPDescriptions as it PlaceholderAPI says it registered it. Basically, it has had little to no testing so if you run into any issues please let me know and I will look into it ASAP, but I did fix a lot of issues, I fixed the bug where is sends 2 messages by adding in a cooldown of 1 second (can be edited via the configuration), and I have added in the /viewdesc command you requested, running that command will display the players own description. I also tested it for 1.16.4 and it works fine on my end, if you have any issues just let me know, I updated the plugin on Spigot which you can download here.

    Have a great day.
    - Texxyy :)
     
    Y1ght likes this.
  15. Offline

    Taco0

    Hello! Sorry for the late response, studies and all and I've been busy at football practice on the weekends. If you could re-send just the spigot link, that'd be amazing, thank you.
     
  16. Offline

    timtower Administrator Administrator Moderator

    So that spigot link is an issue on my side, bot is trigger happy about it for some silly reason.
    https://www.spigotmc.org/resources/rpdescriptions-requested-plugin.88144/
    Remove the spaces from it and have fun.
     
    Last edited: Feb 10, 2021
  17. Offline

    Texxyy

    Hey so sorry about that. Did I put in the right link? Still a bit new to the forums, again I am so sorry about that [redflower]
     
  18. Offline

    timtower Administrator Administrator Moderator

    Your link was fine, checked it by hand, was perfectly fine, spigot might have changed something that is triggering my bot. Need to look into that.
     
  19. Offline

    Texxyy

    Oh, okay, thank you :)
     
  20. Offline

    timtower Administrator Administrator Moderator

    So disabled that part of the bot for now, no idea why it isn't working yet but prefer manual checks over bad ones.
     
  21. Offline

    Taco0

    Works great! Thank you so much for the good plugin and communication.
     
    Texxyy likes this.
  22. Offline

    Texxyy

    Happy to help. :)
     
    Taco0 likes this.

Share This Page