1package com.runehive.content.donators;
3import com.runehive.content.writer.InterfaceWriter;
4import com.runehive.content.writer.impl.InformationWriter;
5import com.runehive.game.world.World;
6import com.runehive.game.world.entity.mob.UpdateFlag;
7import com.runehive.game.world.entity.mob.player.Player;
8import com.runehive.game.world.entity.mob.player.PlayerRight;
9import com.runehive.net.packet.out.SendAnnouncement;
10import com.runehive.util.Utility;
11import org.apache.logging.log4j.LogManager;
12import org.apache.logging.log4j.Logger;
46 if (
player.right.equals(rank)) {
59 player.message(
"Since you are an iron man, your rank icon will not change.");
void redeem(DonatorBond bond)
void updateRank(boolean login)
void setCredits(int credits)
static final Logger logger
Handles writing on an itemcontainer.
static void write(InterfaceWriter writer)
Class handles writing on the quest tab itemcontainer.
Represents the game world.
static void sendMessage(String... messages)
Sends a global message.
This class represents a character controlled by a player.
Handles miscellaneous methods.
static String formatDigits(final int amount)
Formats digits for integers.
static String getAOrAn(String nextWord)
A or an.
static String formatEnum(final String string)
Formats name of enum.
Holds all the donator bond data.
final int moneySpent
The amount of money spent that was required for this bond.
final int credits
The amount of credits this bond will give.
Holds all the player right data.
String getName()
Gets the name of the rank.
static PlayerRight forSpent(int spent)
static boolean isHelper(Player player)
Checks if the player is a HELPER member.
static String getCrown(Player player)
Gets the crown display.
static boolean isIronman(Player player)
Checks if the player is an ironman.
static boolean isModerator(Player player)
Checks if the player is a management member.