Rank Preview With Armour Stand

Discussion in 'Plugin Requests' started by HeroJackPvP, Aug 2, 2017.

Thread Status:
Not open for further replies.
  1. Offline

    HeroJackPvP

    Name: Rank Preview
    Version: 1.11.2

    What I want: So I am making a donator warp and I had a cool idea. I was wondering if someone could make a plugin in which you are able to make specific armour stands give you a message when you right click them. Now this message would not have the console /msg the player but it would just have the text appear in the chat for that specific player much like GAListener does when you type in /vote. The first command below would add a title in the config in which you could type out what you want it to say when clicking on that specific amourstand(could you make it so that when I do \n it goes to the next line in the minecraft chat so I dont have to space it out perfectly?)

    Commands: /addpreview (name) NOTE: when typing this command it will tell the player: please click on the armour stand you wish to apply this to, and then that amour stand would be activated.

    /removepreview (name)

    /rankpreview reload

    Permissions: Idc the commands above are all admin commands so just something like preview.use for defaults and preview.admin to use the commands above
     
  2. Offline

    HeroJackPvP

  3. Hi there, I can give this a try, but I have no idea what GAListener is or what it does. However, instead of you adding text within the game, you'll get a config file containing the text.

    <Name>
    - Line 1
    - Line 2
    - Line 3

    In addtion, multiworld compatiable and localization?
     
    Last edited: Aug 8, 2017
  4. Offline

    maved145

    @HeroJackPvP

    https://www.dropbox.com/s/17elci41r4ky38r/RankPreview.jar?dl=0

    Commands:

    /addpreview (name) -
    Right click an armor stand within 10 seconds after doing this command and the armor stand will have the preview assigned to it. To change the message the player will receive, go to the config.yml, make changes then save the file. Go back in-game and do /rankpreview reload and the config changes will take effect.

    /removepreview (name) - Removes a preview by the specified name. (Can use tab to see a list of all the previews that are available to be removed)

    /rankpreview reload - reloads the configuration file.

    Permissions:

    preview.admin -
    Permission to do all the above commands. No permission is required to receive the message when right clicking the armor stand.

    Any issues let me know.
     
  5. The plugin is inside the zip file.

    Command:
    /rankprev <add | remove | save | load>

    add <name> - Gives you 10 seconds to rightclick an armor stand, else it will give you a timeout.
    remove - Gives you 10 seconds to rightclick an armor stand to remove the preview effect or a timeout will appear.
    load - loads the config file (config.yml) and language (language.yml) file.
    save - saves the location.yml file. When right-clicking a save will happen, so it might not be that useful, but it is there.

    You can change every sentence inside the language.yml file.

    Permissions:
    rankpreview.use - Gives you access to use the armor stands.
    rankpreview.admin - Gives you access to all the commands.

    Anything you do not like, let me know.
     
Thread Status:
Not open for further replies.

Share This Page