Plugin Request, GlobalColor

Discussion in 'Archived: Plugin Requests' started by PresiCorrupto, Jun 21, 2014.

  1. Offline

    PresiCorrupto

    Plugin category: General

    Suggested name: GlobalColor

    What I want: With a command, all the players have the color "black or white" in the TAB. Nothing else.

    Ideas for commands: /gc white or another color

    Ideas for permissions: gc.admin, with this permission the admin sets the color

    When I'd like it by: 24 / 06 / 2014

    Thaks for the attention :)
     
  2. Offline

    CGA1123

    PresiCorrupto

    I don't quite understand what is being asked here?
    What do you mean by the TAB?
    And what do you mean by players 'having the colour'?
     
  3. Offline

    The Fancy Whale

    I think it means a command to change the displaynames of everyone in the tablist to a certain color.
     
    CGA1123 likes this.
  4. Offline

    CGA1123

    The Fancy Whale

    Oh, well that is rather simple, Ill see about doing this!

    PresiCorrupto
    Command: /gc <color>
    Permission: gc.admin
    Color input is not case sensitive.
    The color options are:
    aqua, black, blue, dark_aqua, dark_blue , dark_gray, dark_green, dark_purple, dark_red, gold, gray, green, light_purple, red, white, yellow

    <Edit by Moderator: Redacted mediafire url>

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Nov 2, 2016
  5. Offline

    ZodiacTheories

    CGA1123

    1 hour and 23 minutes precisely
     
    CGA1123 likes this.
  6. Offline

    CGA1123

  7. Offline

    ZodiacTheories

  8. Offline

    PresiCorrupto

    Thanks! Sorry for my bad English, Im Bolivian :rolleyes:

    CGA1123 Sorry, i forgot to put the version, i want it for 1.5.2, you can do it? if not its okay, Thanks :oops:

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
  9. Offline

    Onlineids

    CGA1123 Just a tip instead of wrapping the entire command in a if statement do something like this:
    Code:java
    1. if(!(sender instanceof Player)){
    2. //They arent player return true yada yada
    3. }

    It improves the efficiency.
     
    CGA1123 likes this.
  10. Offline

    CGA1123

    PresiCorrupto

    <Edit by Moderator: Redacted mediafire url>
     
    Last edited by a moderator: Nov 2, 2016
  11. Offline

    PresiCorrupto

    Ohh, THANKS!
     
    CGA1123 likes this.

Share This Page