Add new IMG to cache!
|
I don't know what to do...i want to change that $ for owner... i want the IMG(7)
the ranks are so ****d up in rune-evoultion source 718
Add new IMG to cache!
The ranks are fine, the sign is usually for a donator. If you want that for the owner instead of the gold crown then change it. You can do this by getting steve's chache editor and going to number 1455 i believe. (That number may be wrong) Then save the images in there by clicking save image. Go to the subnumber 7(should be in a box once you click 1455) and replace it with the red $ sign.
playerright save looks like this now...
package com.rs.game.player.content.custom;
import com.rs.game.player.Player;
public enum RightsManager {
REGULAR(1, "Player", "", ""),
GRAPHIC_DESIGNER(0, "Graphic Designer", "", "<col=AD00FF>"),
DONATOR(0, "Donator", "<img=4>", "<col=FF0000>"),
EDONATOR(0, "Extreme Donator", "<img=5>", "<col=20f2eb>"),
SUPPORTER(0, "Supporter", "<img=6>", "<col=559568>"),
MODERATOR(1, "Moderator", "<img=0>", "<col=559568>"),
ADMIN(2, "Adminstrator", "<img=1>", "<col=BA2EE8>"),
OWNER(7, "Owner", "<img=1>", "<col=BA2EE8>");
private int playerRights;
private String title;
private String crown;
private String colorId;
RightsManager(int rights, String title, String crown, String Color) {
this.playerRights = rights;
this.title = title;
this.crown = crown;
this.colorId = Color;
}
public int getPlayerRights() {
return playerRights;
}
public String getTitle() {
return title;
}
public String getCrown() {
return crown;
}
public String getColor() {
return colorId;
}
public static String getInfo(Player player, int i) {
String crown = null;
String titleInfo= null;
String color= null;
for (RightsManager rights : RightsManager.values()) {
if (rights.getPlayerRights() == i) {
if (player.isDonator() && player.getRights() == 0) {
crown = DONATOR.getCrown();
titleInfo = DONATOR.getTitle();
color = DONATOR.getColor();
} else if (player.isExtremeDonator() && player.getRights() == 0) {
crown = EDONATOR.getCrown();
titleInfo = EDONATOR.getTitle();
color = EDONATOR.getColor();
} else if (player.isGraphicDesigner() && player.getRights() == 0) {
crown = GRAPHIC_DESIGNER.getCrown();
titleInfo = GRAPHIC_DESIGNER.getTitle();
color = GRAPHIC_DESIGNER.getColor();
} else if (player.isSupporter() && player.getRights() == 0) {
crown = SUPPORTER.getCrown();
titleInfo = SUPPORTER.getTitle();
color = SUPPORTER.getColor();
} else if (player.getRights() == 1) {
crown = MODERATOR.getCrown();
titleInfo = MODERATOR.getTitle();
color = MODERATOR.getColor();
} else if (player.getRights() == 2) {
crown = ADMIN.getCrown();
titleInfo = ADMIN.getTitle();
color = ADMIN.getColor();
} else if (player.getRights() == 7) {
crown = OWNER.getCrown();
titleInfo = OWNER.getTitle();
color = OWNER.getColor();
} else if (player.getRights() == 0
&& !player.isSupporter()
&& !player.isDonator()
&& !player.isExtremeDonator()
&& !player.isGraphicDesigner()) {
crown = REGULAR.getCrown();
titleInfo = REGULAR.getTitle();
color = REGULAR.getColor();
}
}
}
return ""+color+"["+titleInfo+"]</col> "+crown+""+player.getDisplayName()+""+color+"" ;
}
}
In RightsManager.java change
toCode:OWNER(7, "Owner", "<img=1>", "<col=BA2EE8>");
Code:OWNER(7, "Owner", "<img=4>", "<col=BA2EE8>");
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |