Repository navigation
Economy
Money in C&N Claims: who has an account, what everything costs, the daily charge, and debt.
The mod uses C&N Economy for money. Without it the mod still runs, but every cost is free, nothing is charged daily, and the land market is off.
C&N Economy has two modes, and the mod follows whichever is selected:
| Mode | How money is held | Putting money in a treasury |
|---|---|---|
| Virtual | Numbers on accounts |
/city deposit with coins in your hand |
| Real | Coins in bank chests | Put coins into the city's bank chest |
In real-money mode the mayor makes a city bank by placing a chest with a sign that carries the city's name. Placing a new one moves the bank.
Every city and every alliance has its own account.
| Command | What it does |
|---|---|
/city balance / /alliance balance
|
Show the money |
/city deposit / /alliance deposit
|
Put the coins in your hand in (virtual mode) |
/city withdraw <amount> / /alliance withdraw <amount>
|
Take money out (CITY_WITHDRAW_MONEY / ALLIANCE_WITHDRAW_MONEY) |
A city in debt pays it off first. Coins deposited into a city with debt go to the debt; only the rest stays in the treasury. The chat line says how much went where.
| Action | Default | Setting |
|---|---|---|
| Found a city | 25 | NEW_CITY_COST |
| Rename a city | 20 | CITY_NAME_CHANGE_COST |
| Claim a plot for the city | 5 | PLOT_CLAIM_PRICE |
| Buy an extra plot | 30 | EXTRA_PLOT_COST |
| Claim an outpost | 150 | OUTPOST_PLOT_COST |
| Found an alliance | 300 | NEW_ALLIANCE_COST |
| Rename an alliance | 50 | ALLIANCE_RENAME_COST |
| Use a summon point | 5 | SUMMON_PAYMENT |
| Change a plot's type | by type, below | PLOT_TYPE_SET_COSTS |
/citizen prices and the Prices tab show the values your server uses.
Once per mod day each city pays for its land and its choices:
| What | Daily | Setting |
|---|---|---|
| Base care of a city | 2 | CITY_BASE_CARE |
| Each plot, by type | see below | *_PLOT_COST |
| Each plot with no hostile mobs | 3 | PLOT_NO_MOBSPAWN_FLAG_COST |
| Each plot with PvP off | 3, only if ADDITIONAL_COST_OF_NO_PVP_PLOT is on |
PLOT_NO_PVP_FLAG_COST |
| Neutrality of a city / of an alliance | 25 / 50 |
NEUTRAL_CITY_PAYMENT / NEUTRAL_ALLANCE_PAYMENT
|
| Alliance base care | 50 | ALLIANCE_BASE_CARE |
| Type | Set once | Daily |
|---|---|---|
| Default | 0 | 1 |
| Prison | 3 | 3 |
| Temple | 5 | 5 |
| Farm | 6 | 6 |
| Orchard | 6 | 6 |
| Summon | 7 | 7 |
| Embassy | 8 | 8 |
| Tavern | 9 | 9 |
| War camp | camp_cost |
4 |
| Tournament | — | 3 |
| Main city plot (older cities) | — | 3 |
Changing a type is confirmed with /agree. Both columns can be changed live:
/cadmin setcfg plot_set_cost_<type> <value> and plot_cost_<type> <value>.
| Charge | Who pays whom | Set with |
|---|---|---|
| City fee | Every citizen pays the city, at most 50 | /city set fee <amount> |
| Plot tax | A plot's owner pays the city | /plot set fee <amount> |
| Plot group fee | Every member pays the city, at most 50 | /city pg set fee <group> <amount> |
| Sub-plot tax | A sub-plot's owner pays the city, at most 50 | /subplot tax <amount> |
| Alliance fee | Every member city pays the alliance, at most 50 | /alliance set fee <amount> |
The mayor pays no group fee and no sub-plot tax.
Raises wait for consent. A higher group fee or sub-plot tax is announced and applies only after 24 hours, and only to those who accepted it. A member who does not accept leaves the group; an owner who does not accept gets a refund and loses the sub-plot. See Plot Groups and Sub‐Plots.
Who cannot pay loses what they hold: a citizen loses their plots, a sub-plot owner their
sub-plot. With DELETE_CITIZEN_FROM_CITY_IF_DOESN_PAY_FEE on (off by default), a citizen is removed
from the city instead. See Cities.
| Setting | Default | Meaning |
|---|---|---|
MOD_DAY_DURATION_IN_SECONDS |
86400 | Length of a mod day, in real seconds |
HOUR_NEW_DAY_START |
43200 | When the day starts, in seconds from midnight (12:00) |
DAY_MAX_MISSED_CYCLES_TO_PROCESS |
1 | Days missed while the server was off that are charged on start |
/citizen nextdaytimer shows the time to the next charge. Because missed days are charged on start,
a restart right after a missed day runs the charge at once.
A city that cannot pay its daily costs pays what it has, and the rest becomes debt. Tomorrow's charge includes the debt.
| Setting | Default | Meaning |
|---|---|---|
CITY_MAX_DEBT |
1000 | Debt at which the city fails |
DELETE_CITY_IF_DOESN_PAY_FEE |
false | Delete a city whose debt passes the maximum |
CITY_BANKRUPTCY_MODE |
off |
plots or whole_city: sell its land at auction first — see Land Market
|
Debt is paid off by the daily charge, or at once by /city deposit.
| Setting | Default | Meaning |
|---|---|---|
PLOT_UNCLAIM_REFUND_PERCENT |
0 | Share of the price returned when a plot is given back (0–100) |
PLOT_UNCLAIM_REFUND_MIN_AGE_SECONDS |
300 | How long it must have been held first |
A captured plot refunds nothing. A dissolved sub-plot refunds its owner what they paid, as far as the treasury allows.
For players
- Getting Started
- GUI
- Cities
- Villages
- Plots
- Sub‐Plots
- Plot Groups
- Permissions and Ranks
- Economy
- Land Market
- Shared Boats
- Commands
War and diplomacy
For admins