Skip to content
This repository has been archived by the owner on May 14, 2023. It is now read-only.

Releases: P2P-Develop/PeyangATM

v2.4.2 released!

30 Apr 03:40
898d4ca
Compare
Choose a tag to compare

v2.4.2 Released!

An overflow bug has been fixed.

Countermeasure

If a single deposit exceeds ($)2,147,483,647, the item will now go from an emerald block to a red stone block with a warning statement

This will result in the following changes

The following new entries will be created in the language file

Name Value
error.overflow §4§lError: deposit amount is too much. Reduce the amount you deposit at one time.

There have been a few changes to the way language files are written

The format of the item "Help" has been changed.

You can now create help that only appears to people with atm.admin permissions.

If you put a "_" at the beginning of a help message, it will not be shown to anyone but those with the permissions.
Example: _/atm reload - Reload the plugin.

v2.4.0 Released!

19 Apr 20:52
719172c
Compare
Choose a tag to compare

v2.4 Released!!

Deposit Preview Fixed.

A feature that was previously unavailable due to a bug is now available!

The format of the language files has changed slightly!

Old Name New Name
successReload reloadSuccess

The internal system has changed slightly!

v2.3.43 Released!

16 Apr 19:22
Compare
Choose a tag to compare

v2.3.43 Released!!!!!!

Added Commands

/atm

help

Showing help message.

reload

Reloading Config files.

Changed depend plugins.

Jecon => Vault

Added Config files.

Changeable text(item)

Name Type Default Example Notes
server String PeyangServer ExampleServer
unit String Peyallion Dollar
lang String ja_JP.yml en_US.yml
item Material(StringList) COAL WHEAT SLIME_BALL IRON_NUGGET IRON_INGOT GOLD_NUGGET GOLD_INGOT GHAST_TEAR DIAMOND COAL WHEAT SLIME_BALL IRON_NUGGET IRON_INGOT GOLD_NUGGET GOLD_INGOT GHAST_TEAR DIAMOND The number of pieces is fixed at 8.
sign String [ATM] [ATM] The prefixof the sign that opens the ATM.

Multi-Language System Added!!

Included Files

  • ja_JP.yml
    only

Translatable text

Name Example Notes
word.in §c§lDeposit Letters marked with § are color codes.
word.out §9§lDrawer
word.now §c§lNow:$amount$§a§l$unit$ A string enclosed in $$ is a variable
word.back §c§lBack
word.close §c§lClose
word.title §6§lATM The title of the inventory.
word.prefix §9[§bATM§9] The prefix of the result of the command execution.
lore[0] §9Currency that can be used in §c§l$server$. Item lore.
lore[1] It's worth $amount$unit$. A color code is placed at the beginning.
lore[2] §cRightClick to open the §6ATM.
message.successIn Deposited §f§l$amount$§2§l$unit$.
message.successOut Withdrewed §f§l$amount$§2§l$unit$.
message.reloadSuccess §a§lReloaded the configuration.
helpmessage[0] $prefix$ Help messages.
helpmessage[1] §b/atm [open]
helpmessage[2] §aOpen the ATM.
helpmessage[3] §b/atm help
helpmessage[4] §aShow help.
helpmessage[5] §b/atm reload
helpmessage[6] §aReloading Configuration.
error.noPermission §4§lError: You do not have the permission
error.noArgs §4§lError: The argument is missing.
error.inValiedArgs §4§lError: Invalid arguments.
error.noAccount §4§lError: The account does not exist.
error.noHaveMoney §4§lError: You don't have a deposit that I can withdraw.
error.pleasePlayer §4§lError: Run it from the player.
Praise me for writing this far.

First Release.

01 Mar 01:35
Compare
Choose a tag to compare

Commands

/atm

View Help.

/atm open

Main Commands.

Signs

[ATM]

Open ATM