# 如果裁切只有 1:1 則會獲得的地圖物品標籤 # If the crop is only 1:1, will get the map item tag item-single-tag: "{map:%mapview.id%}" # 如果裁切大於 1:1 則會獲得的地圖物品標籤 # If the crop is greater than 1:1, will get the map item label item-multiple-tag: "{display:{Lore:['{\"extra\
":[{\"italic\
":false,\"color\
":\"white\
",\"text\
":\"%mapview.column%-%mapview.row%\"}],\"text\":\"\"}']},map:%mapview.id%}"
Support 1.14 / 1.15 / 1.16 / 1.17, and packaged with java8
"language:" is no longer available in the configuration file, Instead, the language corresponding to the player's region will be displayed automatically (Now only "en" / "zh_tw" / "zh_cn", You can also manually add to the "lang/" directory in plugin jar)
Fixed a serious error, when deleting, the used quota of the uploader of the map was not correctly reduced (but the person who executed the order was deducted)
Fixed a serious error, when deleting, the used quota of the uploader of the map was not correctly reduced (but the person who executed the order was deducted)
/mapview limit set <Player name|UUID> <Limit amount> Set the maximum number of map that the player is allowed to upload
/mapview limit increase <Player name|UUID> <Limit amount> Increase the maximum number of map that players can upload
/mapview limit subtract <Player name|UUID> <Limit amount> Reduce the maximum number of map that players can upload
/mapview limit check Check the number of map you have used
/mapview limit check <Player name|UUID> Check the number of map used
New configuration(old configuration file must be added manually)
Code (YAML):
# Maximum number of rows allowed in a single upload maximum-row-allowed: 8
# Maximum number of columns allowed in a single upload maximum-column-allowed: 8
# Default player can upload the maximum number of maps # If cut 2:2 it will be 4 instead of 1 default-player-limit: 400
# URL access speed limit (second) # All url share a rate limit discard # Avoid hacker attacks from a large number of upload requests # Shutting down before processing is completed will cause all current queues to disappear url-rate-limit: 4
# Instruction to create a map rate limit (millisecond) create-rate-limit: 2000
# List of allowed URL sources allowed-url-source-list: -
"https://i.imgur.com/" languages:
your_upload_has_reached_limit: "Your upload has reached the limit: " url_not_allowed: "This URL is not allowed" player_not_online_use_uuid: "This player is not online, use UUID" parameter_not_player_name_or_uuid: "Parameter is not a player name or UUID: " set_successfully_now_limit: "Set up, the current upload limit: " now_limit: "Upload limit: " exceeding_allowed_size: "Exceeding the allowed size: " creation_speed_too_fast: "The creation speed is too fast, wait a minute"
/mapview limit set <Player name|UUID> <Limit amount> Set the maximum number of map that the player is allowed to upload
/mapview limit increase <Player name|UUID> <Limit amount> Increase the maximum number of map that players can upload
/mapview limit subtract <Player name|UUID> <Limit amount> Reduce the maximum number of map that players can upload
/mapview limit check Check the number of map you have used
/mapview limit check <Player name|UUID> Check the number of map used
New configuration(old configuration file must be added manually)
Code (YAML):
# Maximum number of rows allowed in a single upload maximum-row-allowed: 8
# Maximum number of columns allowed in a single upload maximum-column-allowed: 8
# Default player can upload the maximum number of maps # If cut 2:2 it will be 4 instead of 1 default-player-limit: 400
# URL access speed limit (second) # All url share a rate limit discard # Avoid hacker attacks from a large number of upload requests # Shutting down before processing is completed will cause all current queues to disappear url-rate-limit: 4
# Instruction to create a map rate limit (millisecond) create-rate-limit: 2000
# List of allowed URL sources allowed-url-source-list: -
"https://i.imgur.com/" languages:
your_upload_has_reached_limit: "Your upload has reached the limit: " url_not_allowed: "This URL is not allowed" player_not_online_use_uuid: "This player is not online, use UUID" parameter_not_player_name_or_uuid: "Parameter is not a player name or UUID: " set_successfully_now_limit: "Set up, the current upload limit: " now_limit: "Upload limit: " exceeding_allowed_size: "Exceeding the allowed size: " creation_speed_too_fast: "The creation speed is too fast, wait a minute"
Completion API method If you access "only Async" on the primary thread, you will get a RuntimeException("Cannot operate database in primary thread!") error
SyncMap
MapData createData()
MapRedirect createRedirect(int priority, String permission, int redirectId)
MapData fromBukkit(MapView mapView)
MapData fromImage(BufferedImage image)
BufferedImage toImage(MapData mapData)
boolean existData(int mapId) throws SQLException only Async
int createData(MapData mapData) throws SQLException only Async
MapData getData(int mapId) throws SQLException only Async
boolean setRedirect(int mapId, MapRedirect mapRedirect) throws SQLException only Async
List<MapRedirect> getRedirects(int mapId) throws SQLException only Async
boolean deleteRedirects(int mapId) throws SQLException only Async
boolean deleteRedirect(int mapId, String permission) throws SQLException only Async
boolean deleteRedirect(int mapId, int priority) throws SQLException only Async
Completion API method If you access "only Async" on the primary thread, you will get a RuntimeException("Cannot operate database in primary thread!") error
SyncMap
MapData createData()
MapRedirect createRedirect(int priority, String permission, int redirectId)
MapData fromBukkit(MapView mapView)
MapData fromImage(BufferedImage image)
BufferedImage toImage(MapData mapData)
boolean existData(int mapId) throws SQLException only Async
int createData(MapData mapData) throws SQLException only Async
MapData getData(int mapId) throws SQLException only Async
boolean setRedirect(int mapId, MapRedirect mapRedirect) throws SQLException only Async
List<MapRedirect> getRedirects(int mapId) throws SQLException only Async
boolean deleteRedirects(int mapId) throws SQLException only Async
boolean deleteRedirect(int mapId, String permission) throws SQLException only Async
boolean deleteRedirect(int mapId, int priority) throws SQLException only Async
New configuration! If the database is not using MariaDB, an error that does not support partitioning will occur, and you can turn it off (if existing `config.yml` must be added manually)
Code (YAML):
# Partition support is allowed when creating data tables # If the database is MariaDB can enable create-table-can-partition: true
New configuration! If the database is not using MariaDB, an error that does not support partitioning will occur, and you can turn it off (if existing `config.yml` must be added manually)
Code (YAML):
# Partition support is allowed when creating data tables # If the database is MariaDB can enable create-table-can-partition: true