Thread: [718+] Crowns in public chat

Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1 [718+] Crowns in public chat 
    Registered Member
    Join Date
    Apr 2013
    Posts
    126
    Thanks given
    131
    Thanks received
    12
    Rep Power
    1
    Open up Player.java

    Search for:

    Code:
    public int getMessageIcon()
    Directly under that int you will see the method - Replace any one of the colons there with this exact code
    Code:
    : getUsername().equalsIgnoreCase("USERNAME") ? 99:
    Replace the "USERNAME" Part with your username and the number with the number of the crown you want.

    If you do not know the number of the crown simply type this to check what they are - You need to be an admin to do so.

    ;;yell <img=1>
    ^ You can go through the id's to find out what all the crowns are.

    Bugger, I was meant to put this in Tutorials Section - Mod please move.
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Aug 2012
    Posts
    1,727
    Thanks given
    907
    Thanks received
    362
    Rep Power
    387
    i don't believe it, Why don't you just go :romote someone, make a rank for it.....
    for you.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Nov 2011
    Posts
    191
    Thanks given
    35
    Thanks received
    14
    Rep Power
    22
    Quote Originally Posted by Carlisle View Post
    Open up Player.java

    Search for:

    Code:
    public int getMessageIcon()
    Directly under that int you will see the method - Replace any one of the colons there with this exact code
    Code:
    : getUsername().equalsIgnoreCase("USERNAME") ? 99:
    Replace the "USERNAME" Part with your username and the number with the number of the crown you want.

    If you do not know the number of the crown simply type this to check what they are - You need to be an admin to do so.

    ;;yell <img=1>
    ^ You can go through the id's to find out what all the crowns are.

    Bugger, I was meant to put this in Tutorials Section - Mod please move.
    Nice one, its common sense tho, just look into the player class and it will be there , but nice for people that doesn't know.

    Quote Originally Posted by Fact View Post
    i don't believe it, Why don't you just go :romote someone, make a rank for it.....
    for you.
    What about you get out a little bit instead of posting facepalm in every snippet topic?
    Reply With Quote  
     

  4. Thankful user:


  5. #4  
    Registered Member
    Join Date
    Apr 2013
    Posts
    126
    Thanks given
    131
    Thanks received
    12
    Rep Power
    1
    Quote Originally Posted by Fact View Post
    i don't believe it, Why don't you just go :romote someone, make a rank for it.....
    for you.
    What?

    Quote Originally Posted by riksk View Post
    Nice one, its common sense tho, just look into the player class and it will be there , but nice for people that doesn't know.
    It definitely is common sense, or so I thought when I read some people saying crowns are client-sided...

    And yes. Tutorials are usually posted to help people who do not know, so Thanks for stating the obvious
    Reply With Quote  
     

  6. #5  
    Donator
    Sake's Avatar
    Join Date
    Jan 2013
    Posts
    396
    Thanks given
    71
    Thanks received
    23
    Discord
    View profile
    Rep Power
    2
    How does this help at all though? You'd have to assign EVERY single person a new symbol. There has to be an easier way than this.
    Reply With Quote  
     

  7. #6  
    Coder in training
    Alienware's Avatar
    Join Date
    Oct 2011
    Age
    24
    Posts
    518
    Thanks given
    35
    Thanks received
    58
    Rep Power
    12
    Quote Originally Posted by revize View Post
    How does this help at all though? You'd have to assign EVERY single person a new symbol. There has to be an easier way than this.
    instead of using player username change the code to player rights for staff, look up custom player ranks in tutorials if you want to make a crown for another rank.
    Reply With Quote  
     

  8. #7  
    Donator
    Sake's Avatar
    Join Date
    Jan 2013
    Posts
    396
    Thanks given
    71
    Thanks received
    23
    Discord
    View profile
    Rep Power
    2
    Quote Originally Posted by Alienware View Post
    instead of using player username change the code to player rights for staff, look up custom player ranks in tutorials if you want to make a crown for another rank.
    Then you'd have to make an entirely new rank. This happened for ALL my ranks. I don't know what was going on but I fixed it by assigning sprites 4 and 7 to Owner and 1 and 8 to Admin. Thank's anyway.
    Reply With Quote  
     

  9. #8  
    Coder in training
    Alienware's Avatar
    Join Date
    Oct 2011
    Age
    24
    Posts
    518
    Thanks given
    35
    Thanks received
    58
    Rep Power
    12
    Quote Originally Posted by revize View Post
    Then you'd have to make an entirely new rank. This happened for ALL my ranks. I don't know what was going on but I fixed it by assigning sprites 4 and 7 to Owner and 1 and 8 to Admin. Thank's anyway.
    Read what I said,
    For the already made ranks put the "if (player.rights == "")" and if you want to make a custom one such as veteran of gfx designer go to the tut.
    Quote Originally Posted by Alienware
    The heart of a server is its community.
    Reply With Quote  
     

  10. #9  
    Registered Member NoEffeks's Avatar
    Join Date
    Apr 2013
    Posts
    3
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Thanks man
    Reply With Quote  
     

  11. #10  
    Donator

    Join Date
    Jul 2012
    Posts
    474
    Thanks given
    22
    Thanks received
    72
    Rep Power
    12
    Code:
    if (cmd[0].equals("crown")) {
                  int crown = Integer.parseInt(cmd[1]);
                  player.getPackets().sendGameMessage("Crown Id "+crown+": <img="+crown+">");
                  return true;
    lol
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 5
    Last Post: 02-03-2013, 03:01 PM
  2. Replies: 5
    Last Post: 03-31-2012, 08:11 AM
  3. [PI] Adding Crowns to Public Chat [PI]
    By Sillhouette in forum Help
    Replies: 11
    Last Post: 04-28-2011, 04:34 PM
  4. [$$$] tag in Public Chat
    By niggawat in forum Help
    Replies: 18
    Last Post: 12-20-2009, 11:04 AM
  5. "/" in Public chat isn't working?
    By CrazyPanda in forum Help
    Replies: 9
    Last Post: 11-02-2009, 04:36 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •