mirror of
https://github.com/NLthijs48/AreaShop.git
synced 2024-11-29 05:35:12 +01:00
Change to the new signtags: [asrent], [asbuy]
parent
f1baf68e7a
commit
89e9fda622
@ -10,7 +10,7 @@ replaced by the name you want the region to have. Now you have two options:
|
||||
|
||||
Line # | Content | Explanation
|
||||
-------|---------|------------
|
||||
Line1 | `[rent]` | Static text to identify this as a renting sign (can be changed in the config)
|
||||
Line1 | `[asrent]` | Static text to identify this as a renting sign (can be changed in the config)
|
||||
Line2 | regionname or empt | The name of the region the players can rent here, can be left empty if the sign is inside the region, then the plugin will find the name
|
||||
Line3 | timeformat or empty | Optional: The length of renting this region, number[space]identifier, `1 day` for example, check possible identifiers in the table below (identifiers can be changed in the config)
|
||||
Line4 | money or empty | Optional: Amount of money they need to pay for 1 length of the timeformat (use a dot and not a comma if you want decimals)
|
||||
@ -21,7 +21,7 @@ Line4 | money or empty | Optional: Amount of money they need to pay for 1 length
|
||||
|
||||
**Right:** Sign if a user rented the region
|
||||
|
||||
![Rent sign placement](https://cloud.githubusercontent.com/assets/6951068/9451984/2c8eb27c-4ab2-11e5-9fb7-1d0b1494e70a.png)
|
||||
![Rent sign placement](https://cloud.githubusercontent.com/assets/6951068/10560927/a4d0dd0a-7519-11e5-8b57-92ad7dd5b239.png)
|
||||
|
||||
The sign will be changed to the specification in the config if placed correctly, every line of the sign can be formatted. Also the right/left click actions can be changed with distinction between sneaking/non-sneaking. A configurable list of commands will be executed when one of these events happen. The money is without the currency (so just the number), the part before and after the number can be configured in the config (with Euro symbol support).
|
||||
|
||||
@ -32,11 +32,12 @@ Check the table below for all the possible identifiers for the timeformat (these
|
||||
Unit | Possible identifiers
|
||||
-----|---------------------
|
||||
Seconds | s, sec, secs, second, seconds
|
||||
Minutes | m, min, mins, minute, minutes, minuten, minuut
|
||||
Hours | h, hour, hours, uur, uren
|
||||
Months | M, month, months, maanden, maand
|
||||
Days | d, day, days, dag, dagen
|
||||
Years | y, year, years, jaar, jaren
|
||||
Minutes | m, min, mins, minute, minutes
|
||||
Hours | h, hour, hours
|
||||
Days | d, day, days
|
||||
Weeks | w, week, weeks
|
||||
Months | M, month, months
|
||||
Years | y, year, years
|
||||
|
||||
#### Using rent signs
|
||||
The following section assumes a default config.
|
||||
@ -59,7 +60,7 @@ replaced by the name you want the region to have. Now you have two options:
|
||||
|
||||
Line # | Content | Explanation
|
||||
-------|---------|------------
|
||||
Line1 | `[buy]` | Static text to identify this as a buying sign (can be changed in the config)
|
||||
Line1 | `[asbuy]` | Static text to identify this as a buying sign (can be changed in the config)
|
||||
Line2 | regionname or empty | The name of the region the players can buy here, can be left empty if the sign is inside the region, then the plugin will find the name
|
||||
Line3 | money or empty | Optional: Amount of money they need to pay for 1 length of the timeformat (use a dot and not a comma if you want decimals)
|
||||
Line4 | - | This line does not need to contain anything
|
||||
@ -70,7 +71,7 @@ Line4 | - | This line does not need to contain anything
|
||||
|
||||
**Right:** Sign if a user bought the region
|
||||
|
||||
![Buy sign placement](https://cloud.githubusercontent.com/assets/6951068/9451985/303cfd70-4ab2-11e5-84ba-bbd2a0d43a1c.png)
|
||||
![Buy sign placement](https://cloud.githubusercontent.com/assets/6951068/10560926/a4be419a-7519-11e5-8a22-adb166bd9fb1.png)
|
||||
|
||||
#### Using sell signs
|
||||
The following section assumes a default config.
|
||||
|
Loading…
Reference in New Issue
Block a user