本帖最后由 苏宁y 于 2020-7-9 22:12 编辑
AuctionMaster [1.8 - 1.16] 2.3.3
更新记录请前往官网
最新的更新记录
本地测试版本:Legacy (< 1.13)
你需要ProtocolLib插件才可以工作使它工作
你还需要一个经济插件
Vault
你也需要一个插件来管理流通的经济 例如Essentials
现在支持CMI插件的经济系统!
汉化文件在最底部的附件中下载!
搬运授权:
如果没有Essentials来管理流通的硬币,它将无法运作,就像是你有钱,但是没有银行,没有商店,你不能去花费它
其次 几乎菜单上的每一个选项,都是用来消费和花费你的金币和!甚至是你可以管理这个菜单,所以它有多个配置和多个选项。几乎在每一个设置上都会在上面加上一条简而易懂的注释内容。其中注释还包含着设置了的占位符[每个设置都有一组特定的缩略图/缩减图,但是它们不是全局的]
代码文件:
config.yml:
- <div style="text-align: center;"><div style="text-align: center;">#You can edit specific menu settings in menu_name.yml from the menus folder.</div><div style="text-align: center;">#Background colors:</div><div style="text-align: center;">#Put 0 for white</div><div style="text-align: center;">#Put 1 for orange</div><div style="text-align: center;">#Put 2 for magenta</div><div style="text-align: center;">#Put 3 for light blue</div><div style="text-align: center;">#Put 4 for yellow</div><div style="text-align: center;">#Put 5 for lime</div><div style="text-align: center;">#Put 6 for pink</div><div style="text-align: center;">#Put 7 for gray</div><div style="text-align: center;">#Put 8 for light gray</div><div style="text-align: center;">#Put 9 for cyan</div><div style="text-align: center;">#Put 10 for purple</div><div style="text-align: center;">#Put 11 for blue</div><div style="text-align: center;">#Put 12 for brown</div><div style="text-align: center;">#Put 13 for green</div><div style="text-align: center;">#Put 14 for red</div><div style="text-align: center;">#Put 15 for black</div><div style="text-align: center;">weapons-menu-color: 1</div><div style="text-align: center;">armor-menu-color: 11</div><div style="text-align: center;">tools-menu-color: 10</div><div style="text-align: center;">blocks-menu-color: 12</div><div style="text-align: center;">others-menu-color: 13</div><div style="text-align: center;">consumables-menu-color: 14</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#How often should the database be updated</div><div style="text-align: center;">#It is updated by default when the plugin is unloaded</div><div style="text-align: center;">#but in case of forced stops or crashes, we update the database</div><div style="text-align: center;">#from time to time.</div><div style="text-align: center;">#This is the time in minutes, please put just a number that would represent the number of minutes!</div><div style="text-align: center;">update-period: 60</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#Message added to the category item's lore when you are browsing it</div><div style="text-align: center;">category-browsing: '&aCurrently browsing!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#Message added to the category item's lore when you are not browsing it</div><div style="text-align: center;">category-no-browsing: '&eClick to view items!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#ATTENTION: Please don't use the same name for items in the menu</div><div style="text-align: center;">#or the same name for the menus themselves, some checks are made</div><div style="text-align: center;">#based on name so you can bug the system by giving the same name to</div><div style="text-align: center;">#two items in the same inventory</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">go-back-item: '262'</div><div style="text-align: center;">go-back-item-name: '&aGo Back'</div><div style="text-align: center;">go-back-item-lore:</div><div style="text-align: center;">- '&7Go back to Auction Menu'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">previous-page-item: '262'</div><div style="text-align: center;">#Use %page-number% for the current page's number</div><div style="text-align: center;">previous-page-item-name: '&aPage %page-number%'</div><div style="text-align: center;">previous-page-item-lore:</div><div style="text-align: center;">- '&7Click to go to the'</div><div style="text-align: center;"> - '&7previous page.'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">next-page-item: '262'</div><div style="text-align: center;">#Use %page-number% for the current page's number</div><div style="text-align: center;">next-page-item-name: '&aPage %page-number%'</div><div style="text-align: center;">next-page-item-lore:</div><div style="text-align: center;">- '&7Click to go to the'</div><div style="text-align: center;"> - '&7next page.'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">starting-menu-name: '&8Auction Menu'</div><div style="text-align: center;">close-menu-item: '166'</div><div style="text-align: center;">close-menu-item-name: '&cClose Menu'</div><div style="text-align: center;">close-menu-item-lore:</div><div style="text-align: center;">- '&7Close the menu'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">browsing-menu-name: '&8Auction Browser'</div><div style="text-align: center;">browsing-menu-item: '41'</div><div style="text-align: center;">browsing-menu-item-name: '&6Auction Browser'</div><div style="text-align: center;">browsing-menu-item-lore:</div><div style="text-align: center;">- '&7Find items for sale by'</div><div style="text-align: center;"> - '&7players across the server!'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7Items offered here are for'</div><div style="text-align: center;"> - '&6auction&7, meaning you have to'</div><div style="text-align: center;"> - '&7place the top bid to get them!'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&eClick to browse!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">view-bids-menu-name: '&8Auction Bids Viewer'</div><div style="text-align: center;">view-bids-menu-item: '396'</div><div style="text-align: center;">#Use %total-bids% for the number of auctions the player has bid on</div><div style="text-align: center;">#Use %total-top-bid% for the number of auctions the player holds the top bid on</div><div style="text-align: center;">view-bids-menu-item-name: '&aView Bids'</div><div style="text-align: center;">view-bids-menu-item-lore:</div><div style="text-align: center;"> with-bids:</div><div style="text-align: center;"> - '&7You placed &a%total-bids% bids&7 on'</div><div style="text-align: center;"> - '&7pending auctions.'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7You hold the top bid on'</div><div style="text-align: center;"> - '&7(&a%total-top-bid%&7/&a%total-bids%&7) of these'</div><div style="text-align: center;"> - '&7auctions.'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&eClick to view!'</div><div style="text-align: center;"> without-bids:</div><div style="text-align: center;"> - '&7You don''t have any bids placed'</div><div style="text-align: center;"> - '&7on pending auctons.'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7Place bids on items and click'</div><div style="text-align: center;"> - '&7here to see them!'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&cYou don''t have any bids!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">no-bids-message: '&cYou don''t have any bids!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">delivery-menu-name: '&8Delivery Menu'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#This is the item for deliveries in the main menu</div><div style="text-align: center;">delivery-menu-item-name: '&aDeliveries'</div><div style="text-align: center;">delivery-menu-item-lore:</div><div style="text-align: center;">- '&7Here come the items and'</div><div style="text-align: center;"> - '&7coins sent from admins!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">delivery-have-message: '&aYou have deliveries!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#This is the item for deliveries in the delivery menu</div><div style="text-align: center;">delivery-item:</div><div style="text-align: center;"> no-delivery-name: '&cNo Delivery'</div><div style="text-align: center;"> no-delivery-lore:</div><div style="text-align: center;"> - '&7You don''t have'</div><div style="text-align: center;"> - '&7any delivery'</div><div style="text-align: center;"> - '&7to claim. :('</div><div style="text-align: center;"> #Use %coins% for the amount of coins the player has in their delivery</div><div style="text-align: center;"> #Use %items-count% for the amount of items the player has in their delivery</div><div style="text-align: center;"> yes-delivery-name: '&aClaim Delivery'</div><div style="text-align: center;"> yes-delivery-lore:</div><div style="text-align: center;"> - '&7You have a delivery!'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7Delivery contains:'</div><div style="text-align: center;"> - '&7 - &6%coins% coins'</div><div style="text-align: center;"> - '&7 - &e%items-count% items'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&aClick to claim!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">delivery-claimed-message: '&aYou just claimed your delivery!'</div><div style="text-align: center;">not-enough-space-delivery: '&cYou don''t have enough space to claim the whole delivery!'</div><div style="text-align: center;">no-delivery-to-claim: '&cYou don''t have a delivery to claim!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">delivery-alert-join-message: '&6[Auction] &fYou have unclaimed deliveries!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#This message appears when the delivery is sent and only if</div><div style="text-align: center;">#the player is online</div><div style="text-align: center;">#Use %coins% for coins</div><div style="text-align: center;">#Use %item-count% for amount of items</div><div style="text-align: center;">delivery-got-message: '&6[Auction] &fYou have received &6%coins% coins &fand &e%item-count% items&f!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#This message appears when the delivery is sent and only if</div><div style="text-align: center;">#the player is online</div><div style="text-align: center;">#Use %coins% for coins</div><div style="text-align: center;">#Use %item-count% for amount of items</div><div style="text-align: center;">delivery-got-message: '&6[Auction] &fYou have received &6%coins% coins &7and &e%item-count% items&7!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#The message shown in chat when a player executes /ah help</div><div style="text-align: center;">#P.S: /ahadmin won't be translated, you are an admin, you know english</div><div style="text-align: center;">#you know how to use commands, therefore no need for translation</div><div style="text-align: center;">player-commands-help-display:</div><div style="text-align: center;">- '&7&m---------------------------------------'</div><div style="text-align: center;"> - '&c/auctionhouse &8- &7Open auctions menu'</div><div style="text-align: center;"> - '&c/ah <player name> &8- &7Open a player''s auctions'</div><div style="text-align: center;"> - '&c/ah delivery &8- &7Open delivery menu'</div><div style="text-align: center;"> - '&4/ahadmin &8- &7Open the admin menu'</div><div style="text-align: center;"> - '&4/ahadmin help &8- &7Show help commands for admin'</div><div style="text-align: center;"> - '&7&m---------------------------------------'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#Do you want the auction to be exclusive for players with a</div><div style="text-align: center;">#specific permission? Set it here, if you don't, let the permission</div><div style="text-align: center;">#to be 'none'</div><div style="text-align: center;">#ATTENTION: This option will block the npc too (if you are using any)</div><div style="text-align: center;">auction-use-permission: 'none'</div><div style="text-align: center;">auction-no-permission: '&cYou don''t have the permission to open the menu!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#Maybe you want just some players to use the '/ah name' command</div><div style="text-align: center;">#And if you wonder what's the difference between this option and ** above:</div><div style="text-align: center;">#this one blocks the command only, the above option also blocks the npc</div><div style="text-align: center;">auction-command-use-permission: 'none'</div><div style="text-align: center;">auction-command-deny: '&cYou don''t have the permission to use this command!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#The permission for using admin commands/menus</div><div style="text-align: center;">admin-perks-use-permission: 'auctionmaster.admin'</div><div style="text-align: center;">admin-perks-deny: '&cYou can''t use admin commands!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#This option will make the command '/ah' open the main menu</div><div style="text-align: center;">#If you set it to false, the command will require a player as it's argument</div><div style="text-align: center;">auction-command-menu: true</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#The message sent when the option above is false</div><div style="text-align: center;">auction-command-missing: '&cYou should use /ah <player name>!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#Use %player% for player's username</div><div style="text-align: center;">player-auction-menu-name: '&8%player%''s Auctions'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#The message sent when the entered player does not have any auctions</div><div style="text-align: center;">no-auctions-message: '&eThis player does not have any active auctions.'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#This is false by default because you will need Citizens & HolographicDisplays if you want to use it</div><div style="text-align: center;">#After setting this to true just use /ahadmin npc</div><div style="text-align: center;">#If the title bugs use /ahadmin debugNames to regenerate them</div><div style="text-align: center;">auction-npc-use: false</div><div style="text-align: center;">#You can only have 2 lines, sorry</div><div style="text-align: center;">auction-npc-title:</div><div style="text-align: center;"> line-1: '&6Auction Master'</div><div style="text-align: center;"> line-2: '&e&lCLICK'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#When the option below is set to false, it will use 'auction-npc-skin-name' setting</div><div style="text-align: center;">#When the option below is set to true, it will use 'auction-npc-skin-signature' and 'auction-npc-skin-data'</div><div style="text-align: center;">#You can use https://mineskin.org/ to upload a custom skin</div><div style="text-align: center;">auction-npc-skin-texture: true</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#For npc's skin you can put the name of a player</div><div style="text-align: center;">#This setting matters only when 'auction-npc-skin-texture' is false</div><div style="text-align: center;">auction-npc-skin-name: 'qKing12'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">auction-npc-skin-signature: 'SbvoR6xYRP30lvCJqIumNCul8IdwHXuBTh4/Gukr4HzFMpouEM1boRvRwPRzRo45UFlxQnsYZzbBnAeCHAYVgql6jvIbXLpQmhdSH1kSKZ6pmjhTzufK/R6S3pWLZlv77oaTfFT+7Ccd7bXFSwimG0wIK4jHhfrKa2kdMMZi7Y21ecVZr3DoJTYpJi9k18ewy1KSPm4aqkxE8rFr0U79IKoUBm1glT/jJYsMVARCJlouHMLEk0x2fHuwPF/Tpf3+yPdCQXCQrqKug0klcyhTNYqv238aqws/x0RsFyegvoxl3fwfIshjqXEVQpnmJ9N9tcD6MzKqm2mC1TjycEpYHvfaxircs7XU9hRbNbiLTKFVGYda9OMh40GmoCriJItYZBLngliNUCbIysE3YKosjXQdOTPVSU/9hZbTN242dL035to2a1r+rq5kkj5YabbvGIFyyaYDg/6plnb7ZWstMJlb6yzEldyfk+7hVb5W1ahsbZ+DCZIeEhewdJDghaiizWHE7m5L+L+49Q9QAyW/I+mM0MS7JlDSUNn/CeaijMB0YfWI12EoM7KVEJC8RnVc09HFs1HSXNA7Gcy073NrNOWxlCXG2NYSosYTiZ/2UWIHBkH0KTwHHwWdQSgtdl6o0gz40OsqzwuU8DyxQk8RfGb7RKdwiIPxukExSNyn+EQ='</div><div style="text-align: center;">auction-npc-skin-data: 'eyJ0aW1lc3RhbXAiOjE1Njc5NjQyNTU5OTUsInByb2ZpbGVJZCI6IjgyYzYwNmM1YzY1MjRiNzk4YjkxYTEyZDNhNjE2OTc3IiwicHJvZmlsZU5hbWUiOiJOb3ROb3RvcmlvdXNOZW1vIiwic2lnbmF0dXJlUmVxdWlyZWQiOnRydWUsInRleHR1cmVzIjp7IlNLSU4iOnsidXJsIjoiaHR0cDovL3RleHR1cmVzLm1pbmVjcmFmdC5uZXQvdGV4dHVyZS82NWRhZjZlN2Y1ZTExOGZjYTQwOGUzZTQzMzM0ZmQxZmIxMzNiMzFkYWE3Yjk4MTRiYjVlMGRhZWQ4YzA0NjhiIiwibWV0YWRhdGEiOnsibW9kZWwiOiJzbGltIn19fX0='</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#If you want a certain item id to be blocked from auction</div><div style="text-align: center;">#specify it here, by default the items that can't be put in</div><div style="text-align: center;">#any category, they go to "others menu"</div><div style="text-align: center;">blacklist-item-id:</div><div style="text-align: center;">- '2267'</div><div style="text-align: center;">#This is a setting for custom items, if you want to block a certain name of an item</div><div style="text-align: center;">blacklist-item-name:</div><div style="text-align: center;">- '&6Coins'</div><div style="text-align: center;"> - '&5Custom Item Name'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">blacklist-item-lore:</div><div style="text-align: center;"> 1:</div><div style="text-align: center;"> - '&eLine1'</div><div style="text-align: center;"> - '&eLine2'</div><div style="text-align: center;"> 2:</div><div style="text-align: center;"> - '&e1 Line1'</div><div style="text-align: center;"> - '&e1 Line2'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">blacklist-item-message: '&cThis item is not auctionable!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#You can make custom item names to go in a specific category</div><div style="text-align: center;">#This option is configurable in menu's file.</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#Please do not modify this</div><div style="text-align: center;">version: 1.5</div></div>
复制代码
|
currency.yml:
- <div style="text-align: center;"><div style="text-align: center;">#Let the plugin know what currency you want to use</div><div style="text-align: center;">#for your player's auctions</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#Put 'Vault' for Vault Currency(Default)</div><div style="text-align: center;">#Put 'Skript' for Skript Currency</div><div style="text-align: center;">#If you misspell the currency type, it will automatically select Vault</div><div style="text-align: center;">currency-type: 'Vault'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#If your currency does not work the auction won't either</div><div style="text-align: center;">#There are two possible errors:</div><div style="text-align: center;">#Error 404 = The currency plugin is missing</div><div style="text-align: center;">#Error 505 = The player's currency is unreachable (Frequently caused by undeclared/misspelled skript variables)</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#----------- Skript Configuration -----------</div><div style="text-align: center;">#Use %player% for player's name</div><div style="text-align: center;">#The variable should be like in skript but without braces</div><div style="text-align: center;">#Example: {balance.%player%} would be balance.%player%</div><div style="text-align: center;">skript-variable: 'balance::%player%'</div></div>
复制代码
|
bids_related.yml:
- <div style="text-align: center;"><div style="text-align: center;">bids-menu-name: '&8Auction View'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">bid-history-item: '358:0'</div><div style="text-align: center;">bid-history-item-name: '&fBid History'</div><div style="text-align: center;">bid-history-item-lore:</div><div style="text-align: center;"> no-bids:</div><div style="text-align: center;"> - '&7No bids have been placed on'</div><div style="text-align: center;"> - '&7this item yet.'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7Be the first to bid on it!'</div><div style="text-align: center;"> #The lore of the bid history item is dynamic when</div><div style="text-align: center;"> #it has bids on it, the structure below repeats itself</div><div style="text-align: center;"> #at every new bid, adding to the lore</div><div style="text-align: center;"> #Use %bid-amount% for the amount of the bid</div><div style="text-align: center;"> #Use %bidder-display-name% for bidder's display name</div><div style="text-align: center;"> #Use %when-bidded% for when the bid was placed (eg. 2 Days) (Ago is not included so you can modify)</div><div style="text-align: center;"> bid-structure:</div><div style="text-align: center;"> - '&8&m--------------'</div><div style="text-align: center;"> - '&7Bid: &6%bid-amount% coins'</div><div style="text-align: center;"> - '&7By: %bidder-display-name%'</div><div style="text-align: center;"> - '&b%when-bidded% Ago'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#This is the message items with "Ending soon" will give when clicked</div><div style="text-align: center;">too-late-to-open-now: '&cIt is too late to open this now!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#When the auction is claimed by the seller, the bid history</div><div style="text-align: center;">#no longer updates %when-bidded% and the message below is added</div><div style="text-align: center;">#to the bid history item lore</div><div style="text-align: center;">#Use %date% for the date of the last updated</div><div style="text-align: center;">bid-history-last-updated-message: '&8Last updated on %date%'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">submit-bid-cannot-afford-item: '394'</div><div style="text-align: center;">#Use %bid-amount% for the needed amount (that the player does not have)</div><div style="text-align: center;">submit-bid-cannot-afford-item-name: '&6Submit Bid'</div><div style="text-align: center;">submit-bid-cannot-afford-item-lore:</div><div style="text-align: center;">- ''</div><div style="text-align: center;"> - '&7New Bid: &6%bid-amount% coins'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&cCannot afford bid!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">submit-bid-item: '371'</div><div style="text-align: center;">submit-bid-item-name: '&6Submit Bid'</div><div style="text-align: center;">submit-bid-item-lore:</div><div style="text-align: center;"> no-previous-bids:</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7New Bid: &6%bid-amount% coins'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&eClick to bid!'</div><div style="text-align: center;"> #Use %bid-amount% for the amount the bid will have</div><div style="text-align: center;"> #Use %previous-bid% for the previous bid's amount</div><div style="text-align: center;"> #Use %coins-to-pay% for the difference between previous bid and actual bid</div><div style="text-align: center;"> with-previous-bids:</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7New Bid: &6%bid-amount% coins'</div><div style="text-align: center;"> - '&7Previous Bid: &e%previous-bid% coins'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7You pay: &6%coins-to-pay% coins'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&eClick to bid!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">collect-bid-item: '41'</div><div style="text-align: center;">collect-bid-item-name: '&6Collect Auction'</div><div style="text-align: center;">collect-bid-item-lore:</div><div style="text-align: center;">#Use %coins% for the amount of coins the player could collect</div><div style="text-align: center;"> collect-coins:</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7You have &6%coins% coins'</div><div style="text-align: center;"> - '&7to collect from this'</div><div style="text-align: center;"> - '&7auction.'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&eClick to collect!'</div><div style="text-align: center;"> collect-item:</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7You have items to'</div><div style="text-align: center;"> - '&7collect from this auction'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&eClick to collect!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">edit-bid-item: '266'</div><div style="text-align: center;">#Use %current-bid% for the amount the player has selected to bid</div><div style="text-align: center;">edit-bid-item-name: '&fBid Amount: &6%current-bid% coins'</div><div style="text-align: center;">#Use %minimum-bid% for the minimum amount you have to bid on the auction</div><div style="text-align: center;">edit-bid-item-lore:</div><div style="text-align: center;">- '&7You need to bid at least'</div><div style="text-align: center;"> - '&6%minimum-bid% coins &7to hold the top'</div><div style="text-align: center;"> - '&7bid on this auction.'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7The &etop bid&7 on auction'</div><div style="text-align: center;"> - '&7end wins the item.'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7If you do not win, you can'</div><div style="text-align: center;"> - '&7claim your bid coins back.'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&eClick to edit amount!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#The sign used for editing has the same text</div><div style="text-align: center;">#as the starting bid on auction creator</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#Message for when you try to edit the bid with a value smaller than needed</div><div style="text-align: center;">edit-bid-deny-message: '&cYour bid is too low.'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#Message for when the bid is placed successfully</div><div style="text-align: center;">placed-bid-message: '&aYour bid was successfully placed!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#Message for when you have 28 bids (reached the limit)</div><div style="text-align: center;">max-bids-reached: '&cYou can have maximum 28 bids on different auctions at the same time.'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#Message sent to players when they get outbidded</div><div style="text-align: center;">#Use %outbid-player-display-name% for the name of the outbidder</div><div style="text-align: center;">#Use %top-bid% for the new top bid</div><div style="text-align: center;">#Use %bid-item% for the name of the item</div><div style="text-align: center;">#USe %click-message% for the portion of text that sends you to the auction when clicked</div><div style="text-align: center;">outbid-message:</div><div style="text-align: center;">- '&6[Auction] &fYou got outbidded by %outbid-player-display-name%&f on %bid-item%&f.'</div><div style="text-align: center;"> - '&fThe new top bid is &6%top-bid% coins&f. &e&lCLICK TO VIEW'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#Message sent to the seller when someone bids on their auction</div><div style="text-align: center;">#Use %bidder% for bidder's display name</div><div style="text-align: center;">#Use %bid-amount% for the bidded amount</div><div style="text-align: center;">#Use %bid-item% for the name of the item</div><div style="text-align: center;">bid-message: '&6[Auction] %bidder% &fput a bid of &6%bid-amount% coins &fon your %bid-item%&f!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">not-enough-money-bid: '&cYou don''t have enough money to bid this amount.'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#This message is added to the lore of some items</div><div style="text-align: center;">#to let the player know it is their own auction</div><div style="text-align: center;">own-auction-message: '&aThis is your own auction!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#To prevent a bug where two players bid the same amount</div><div style="text-align: center;">#on the same auction (that happening when 2 players have the same view auction menu opened</div><div style="text-align: center;">#at the same time) this message will be sent to the player if the value they try to submit</div><div style="text-align: center;">#is already in there</div><div style="text-align: center;">bid-error-message:</div><div style="text-align: center;">- '&c[Auction Error] &fWhile you were thinking about submitting someone already bid.'</div><div style="text-align: center;"> - '&cReopening menu...'</div></div>
复制代码
|
auctions_config.yml:
- <div style="text-align: center;"><div style="text-align: center;">#This is the lore of every auctioned item in the menu:</div><div style="text-align: center;">#Use %amount% for item's amount</div><div style="text-align: center;">auction-item-lore:</div><div style="text-align: center;">#The lore for items with no bids on them</div><div style="text-align: center;"> #Use %display-name-seller% for display name of the seller</div><div style="text-align: center;"> #Use %starting-bid% for the starting bid</div><div style="text-align: center;"> #Use %duration% for auction duration</div><div style="text-align: center;"> auction-item-no-bid:</div><div style="text-align: center;"> - '&8&m---------------------'</div><div style="text-align: center;"> - '&7Seller: %display-name-seller%'</div><div style="text-align: center;"> - '&7Starting bid: &6%starting-bid% coins'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7Ends in: &e%duration%'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&eClick to inspect!'</div><div style="text-align: center;"> #The lore for items with bids on them</div><div style="text-align: center;"> #Use %display-name-seller% for display name of the seller</div><div style="text-align: center;"> #Use %bids% for the amount of bids</div><div style="text-align: center;"> #Use %top-bid% for the top bid</div><div style="text-align: center;"> #Use %top-bid-player% for the top bid player</div><div style="text-align: center;"> #Use %duration% for auction duration</div><div style="text-align: center;"> auction-item-with-bids:</div><div style="text-align: center;"> - '&8&m---------------------'</div><div style="text-align: center;"> - '&7Seller: %display-name-seller%'</div><div style="text-align: center;"> - '&7Bids: &a%bids% bids'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7Top bid: &6%top-bid% coins'</div><div style="text-align: center;"> - '&7Bidder: %top-bid-player%'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7Ends in: &e%duration%'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&eClick to inspect!'</div><div style="text-align: center;"> #Use %display-name-seller% for display name of the seller</div><div style="text-align: center;"> #Use %bids% for the amount of bids</div><div style="text-align: center;"> #Use %top-bid% for the top bid</div><div style="text-align: center;"> #Use %top-bid-player% for the top bid player</div><div style="text-align: center;"> auction-item-ended:</div><div style="text-align: center;"> - '&8&m---------------------'</div><div style="text-align: center;"> - '&7Seller: %display-name-seller%'</div><div style="text-align: center;"> - '&7Bids: &a%bids% bids'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7Top bid: &6%top-bid% coins'</div><div style="text-align: center;"> - '&7Bidder: %top-bid-player%'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7Status: &aEnded!'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&eClick to inspect!'</div><div style="text-align: center;"> #Use %display-name-seller% for display name of the seller</div><div style="text-align: center;"> #Use %starting-bid% for the starting bid</div><div style="text-align: center;"> auction-item-expired:</div><div style="text-align: center;"> - '&8&m---------------------'</div><div style="text-align: center;"> - '&7Seller: %display-name-seller%'</div><div style="text-align: center;"> - '&7Starting bid: &6%starting-bid% coins'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7Status: &cExpired!'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&eClick to inspect!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">sort-auction-item: '154'</div><div style="text-align: center;">sort-auction-item-name: '&aSort'</div><div style="text-align: center;">#The lore is dynamic so you can only edit</div><div style="text-align: center;">#the names of the sortings</div><div style="text-align: center;">sort-auction-item-sorting:</div><div style="text-align: center;"> highest-bid: 'Highest Bid'</div><div style="text-align: center;"> lowest-bid: 'Lowest Bid'</div><div style="text-align: center;"> ending-soon: 'Ending Soon'</div><div style="text-align: center;"> most-bids: 'Most Bids'</div><div style="text-align: center;"> click-to-switch: '&eClick to switch sort!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">search-auction-item: 323</div><div style="text-align: center;">search-auction-item-name: '&aSearch'</div><div style="text-align: center;">search-auction-item-lore:</div><div style="text-align: center;">- '&7Find items by name.'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&eClick to search!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#The message displayed on the sign when searching for an auction</div><div style="text-align: center;">#There are only 3 rows because the first is where the user writes</div><div style="text-align: center;">search-sign-message:</div><div style="text-align: center;">- '^^^^^^^^^^^^^^^'</div><div style="text-align: center;"> - 'Type in your'</div><div style="text-align: center;"> - 'search'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">create-menu-name: '&8Auction Creator'</div><div style="text-align: center;">manage-own-auctions-menu-name: '&8Your Auctions Manager'</div><div style="text-align: center;">manage-menu-item: '418'</div><div style="text-align: center;">manage-menu-item-name: '&aManage Auctions'</div><div style="text-align: center;">manage-menu-item-lore:</div><div style="text-align: center;">#This lore is displayed when the player has no own auction</div><div style="text-align: center;"> manage-no-own-auctions:</div><div style="text-align: center;"> - '&7Set your own items on'</div><div style="text-align: center;"> - '&7auction for other players'</div><div style="text-align: center;"> - '&7to purchase.'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&eClick to become rich!'</div><div style="text-align: center;"> #This lore is displayed when the player has pending auctions</div><div style="text-align: center;"> #Use %auctions% for the number of auctions the player has</div><div style="text-align: center;"> #Use %bids% for the total number of bids on their auctions</div><div style="text-align: center;"> #Use %coins% for the total number of coins on their auctions</div><div style="text-align: center;"> manage-with-own-auctions:</div><div style="text-align: center;"> - '&7You own &e%auctions% auctions &7in'</div><div style="text-align: center;"> - '&7progress or which recently'</div><div style="text-align: center;"> - '&7ended.'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7Your auctions have &a%bids% bids'</div><div style="text-align: center;"> - '&7totaling &6%coins% coins&7.'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&eClick to manage!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">preview-no-item-selected: '77'</div><div style="text-align: center;">preview-no-item-selected-name: '&eClick an item in your inventory!'</div><div style="text-align: center;">preview-no-item-selected-lore:</div><div style="text-align: center;">- '&7Selects it for auction'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">preview-selected-item-name: '&a&n&lAUCTION FOR ITEM'</div><div style="text-align: center;">preview-selected-item-take-back: '&eClick to pickup!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#This item appears when the player has 2 or more ended auctions</div><div style="text-align: center;">collect-all-item: '380'</div><div style="text-align: center;">#Use %auctions% for the number of auctions that could be collected</div><div style="text-align: center;">#Use %coins% for the total amount of coins that could be collected</div><div style="text-align: center;">#Use %items% for the expired items that could be collected</div><div style="text-align: center;">collect-all-item-name: '&aClaim All'</div><div style="text-align: center;">collect-all-item-lore:</div><div style="text-align: center;"> own-auctions:</div><div style="text-align: center;"> - '&8Ended Auctions'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7You have &e%auctions% &7ended auctions'</div><div style="text-align: center;"> - '&7totaling a value of &6%coins% &7coins'</div><div style="text-align: center;"> - '&7and &e%items% &7items from expired auctions.'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&eClick to claim!'</div><div style="text-align: center;"> own-bids:</div><div style="text-align: center;"> - '&8Ended Auctions'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7There are &e%auctions% &7ended auctions'</div><div style="text-align: center;"> - '&7on which you bid.'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7You have &6%coins% &7coins to'</div><div style="text-align: center;"> - '&7claim back from lost auctions and'</div><div style="text-align: center;"> - '&e%items% &7items from won auctions.'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&eClick to claim!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#The message sent when the player has a full inventory but tries to claim an item</div><div style="text-align: center;">not-enough-inventory-space: '&cYou don''t have enough inventory space!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">create-auction-item:</div><div style="text-align: center;"> no-item-selected-material: '159:14'</div><div style="text-align: center;"> no-item-selected-name: '&cCreate Auction'</div><div style="text-align: center;"> no-item-selected-lore:</div><div style="text-align: center;"> - '&7No item selected!'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7Click an item in your'</div><div style="text-align: center;"> - '&7inventory to select it for'</div><div style="text-align: center;"> - '&7this auction.'</div><div style="text-align: center;"> item-selected-material: '159:13'</div><div style="text-align: center;"> item-selected-name: '&aCreate Auction'</div><div style="text-align: center;"> #Use %item-name% for item's name</div><div style="text-align: center;"> #Use %starting-bid% for starting bid amount</div><div style="text-align: center;"> #Use %duration% for duration of the auction</div><div style="text-align: center;"> #Use %fee% for the total fee</div><div style="text-align: center;"> item-selected-lore:</div><div style="text-align: center;"> - '&7This item will be added to'</div><div style="text-align: center;"> - '&7the auction house for other'</div><div style="text-align: center;"> - '&7players to purchase.'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7Item: &f%item-name%'</div><div style="text-align: center;"> - '&7Auction duration: &e%duration%'</div><div style="text-align: center;"> - '&7Starting bid: &6%starting-bid% coins'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7Creation fee: &6%fee% coins'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&eClick to submit!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#The default starting bid</div><div style="text-align: center;">default-starting-bid: '500'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">starting-bid-item: '266'</div><div style="text-align: center;">#Use %starting-bid% for the starting bid amount</div><div style="text-align: center;">#Use %starting-fee% for the starting bid fee</div><div style="text-align: center;">starting-bid-item-name: '&fStarting Bid: &6%starting-bid% coins'</div><div style="text-align: center;">starting-bid-item-lore:</div><div style="text-align: center;">- '&7The minimum price a player'</div><div style="text-align: center;"> - '&7can offer to obtain your'</div><div style="text-align: center;"> - '&7item.'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7Once a player bids for your'</div><div style="text-align: center;"> - '&7item, other players will'</div><div style="text-align: center;"> - '&7have until the auction ends'</div><div style="text-align: center;"> - '&7to make a higher bid.'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7Extra fee: &6+%starting-fee% coins &e(5%)'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&eClick to edit!'</div><div style="text-align: center;">#The message displayed on the sign when changing the starting bid</div><div style="text-align: center;">#There are only 3 rows because the first is where the user writes</div><div style="text-align: center;">starting-bid-sign-message:</div><div style="text-align: center;">- '^^^^^^^^^^^^^^^'</div><div style="text-align: center;"> - 'Your auction'</div><div style="text-align: center;"> - 'starting bid'</div><div style="text-align: center;">#This message is shown when the starting bid</div><div style="text-align: center;">#could not be registered</div><div style="text-align: center;">starting-bid-sign-deny: '&cThat is not a valid number.'</div><div style="text-align: center;">#Don't use the % symbol, just say how much in 100</div><div style="text-align: center;">#you want the procent to be</div><div style="text-align: center;">starting-bid-fee-procent: '5'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#Use m for minute, h for hour, d for day with a space between the number and time unit</div><div style="text-align: center;">#The maxim auction time is 7 days and you can't set the auction to seconds</div><div style="text-align: center;">#If you enter the time incorectly it resets to 2 h</div><div style="text-align: center;">default-starting-duration: '2 h'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#Custom units for time</div><div style="text-align: center;">#Don't use this in the upper option, these are avalable</div><div style="text-align: center;">#just in auction messages, in the config please use the syntax from the upper comment</div><div style="text-align: center;">second: 'Second'</div><div style="text-align: center;">seconds: 'Seconds'</div><div style="text-align: center;">minute: 'Minute'</div><div style="text-align: center;">minutes: 'Minutes'</div><div style="text-align: center;">hour: 'Hour'</div><div style="text-align: center;">hours: 'Hours'</div><div style="text-align: center;">day: 'Day'</div><div style="text-align: center;">days: 'Days'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#This is the formula that calculates the fee for hours</div><div style="text-align: center;">#x=number of hours</div><div style="text-align: center;">extra-fee-formula: '5*(x+3)+5*x*(Math.floor(x/9)+Math.floor(x/20))'</div><div style="text-align: center;">#The fee for minutes is fixed (5 minutes - 59 minutes)</div><div style="text-align: center;">extra-fee-minutes: '500'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#This is the message used into %extra-fee%</div><div style="text-align: center;">extra-fee-message: 'Extra fee: '</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">duration-menu-name: '&8Auction Duration'</div><div style="text-align: center;">#This is the message used into duration selection menu</div><div style="text-align: center;">#on the items with time on them</div><div style="text-align: center;">duration-selection-lore: '&eClick to pick!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">duration-item: '347'</div><div style="text-align: center;">#Use %auction-fee% for the duration fee of the auction</div><div style="text-align: center;">#Use %auction-time% for the time of the auction</div><div style="text-align: center;">duration-item-name: '&fDuration: &e%auction-time%'</div><div style="text-align: center;">duration-item-lore:</div><div style="text-align: center;">- '&7How long players will be'</div><div style="text-align: center;"> - '&7able to place bids for'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7Note: Bids automatically'</div><div style="text-align: center;"> - '&7increase the duration of'</div><div style="text-align: center;"> - '&7auctions.'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7Extra fee: &6+%auction-fee% coins'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&eClick to edit!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#The clock inside the duration menu</div><div style="text-align: center;">duration-select-item-name: '&aCustom Duration'</div><div style="text-align: center;">duration-select-item-lore:</div><div style="text-align: center;">- '&7Specify how long you want'</div><div style="text-align: center;"> - '&7the auction to last.'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&bRight Click for minutes!'</div><div style="text-align: center;"> - '&eClick to set hours!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#The message displayed on the sign when changing the duration of the bid</div><div style="text-align: center;">#There are only 3 rows because the first is where the user writes</div><div style="text-align: center;">#%time-format% is hours/minutes.</div><div style="text-align: center;">duration-sign-message:</div><div style="text-align: center;">- '^^^^^^^^^^^^^^^'</div><div style="text-align: center;"> - 'Auction'</div><div style="text-align: center;"> - '%time-format%'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#The message shown when the amount of hours/minutes entered is incorrect</div><div style="text-align: center;">duration-sign-deny: '&cThat is not a valid number.'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">not-enough-money-auction: '&cYou don''t have enough money to create this auction.'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">auction-confirm-menu-name: '&8Confirm Auction'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">auction-confirm-item-material: '159:13'</div><div style="text-align: center;">auction-confirm-item-name: '&aConfirm'</div><div style="text-align: center;">#Use %cost% for the total price the player</div><div style="text-align: center;">#has to pay to create the auction</div><div style="text-align: center;">auction-confirm-item-lore:</div><div style="text-align: center;"> - '&7Auction Cost: &6%cost% coins'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7Are you sure you want'</div><div style="text-align: center;"> - '&7to create the auction?'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&eClick to confirm!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">auction-cancel-item-material: '159:14'</div><div style="text-align: center;">auction-cancel-item-name: '&cCancel'</div><div style="text-align: center;">auction-cancel-item-lore:</div><div style="text-align: center;">- '&7Cancel the creation'</div><div style="text-align: center;"> - '&7of the auction.'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">auction-created-message: '&aYour auction was created!'</div></div>
复制代码
|
admin_config.yml:
- <div style="text-align: center;"><div style="text-align: center;">#Here you can edit messages from the admin menu</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">npccreate-item-name: '&aCreate NPC'</div><div style="text-align: center;">npccreate-item-lore:</div><div style="text-align: center;">- '&7Create a &aAuctionMaster NPC'</div><div style="text-align: center;"> - '&7at your current location.'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7After the NPC is created you'</div><div style="text-align: center;"> - '&7can use basic Citizens commands'</div><div style="text-align: center;"> - '&7on it.'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7You need &aCitizens &7and &aHolographicDisplays'</div><div style="text-align: center;"> - '&7for this option to work properly!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">npc-debug-item-name: '&aDebug NPCs'</div><div style="text-align: center;">npc-debug-item-lore:</div><div style="text-align: center;">- '&7If you have multiple NPCs'</div><div style="text-align: center;"> - '&7and they don''t have their title'</div><div style="text-align: center;"> - '&7aligned with their entity'</div><div style="text-align: center;"> - '&7click this item.'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">manage-ended-auctions-item-name: '&aManage Ended Auctions'</div><div style="text-align: center;">manage-ended-auctions-item-lore:</div><div style="text-align: center;">- '&7Manage ended or expired auctions'</div><div style="text-align: center;"> - '&7by forcefully deleting them.'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7You can delete the auction in two ways:'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7By sending the items & money'</div><div style="text-align: center;"> - '&7via a &aDelivery&7.'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7By completly erasing the auction,'</div><div style="text-align: center;"> - '&7players will lose their money and items.'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">manage-auctions-item-name: '&aManage Auctions'</div><div style="text-align: center;">manage-auctions-item-lore:</div><div style="text-align: center;">- '&7Manage auctions that are not ended.'</div><div style="text-align: center;"> - '&7You can add time to an auction, delete it,'</div><div style="text-align: center;"> - '&7edit its price, end it, remove bids.'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7You can also duplicate the auctioned'</div><div style="text-align: center;"> - '&7item and place it into your inventory.'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">delivery-item-name: '&aSend Deliveries'</div><div style="text-align: center;">delivery-item-lore:</div><div style="text-align: center;">- '&7Send a &aDelivery&7 to'</div><div style="text-align: center;"> - '&7a player. You can also delete'</div><div style="text-align: center;"> - '&7players'' deliveries using'</div><div style="text-align: center;"> - '&7commands. &a/ahadmin delivery'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">help-item-name: '&aCommands Help'</div><div style="text-align: center;">help-item-lore:</div><div style="text-align: center;">- '&7Use &a/ahadmin help&7 or'</div><div style="text-align: center;"> - '&7click this item to show'</div><div style="text-align: center;"> - '&7a list of admin commands'</div><div style="text-align: center;"> - '&7you could use.'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">delete-auction-item:</div><div style="text-align: center;"> with-delivery-name: '&aDelete Auction with Delivery'</div><div style="text-align: center;"> with-delivery-lore:</div><div style="text-align: center;"> - '&7Click to delete the auction'</div><div style="text-align: center;"> - '&7and erase all data about it'</div><div style="text-align: center;"> - '&7but sending all the unclaimed'</div><div style="text-align: center;"> - '&7bid coins & items via a &aDelivery&7.'</div><div style="text-align: center;"> without-delivery-name: '&aDelete Auction'</div><div style="text-align: center;"> without-delivery-lore:</div><div style="text-align: center;"> - '&7Click to delete the auction'</div><div style="text-align: center;"> - '&7and erase all data about it.'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&cATTENTION!'</div><div style="text-align: center;"> - '&7All players involved in this'</div><div style="text-align: center;"> - '&7auction will lose their bids & coins!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#This is the manage bids item for auctions that are ended</div><div style="text-align: center;">manage-bids-item-name: '&aDelete Unclaimed Bids'</div><div style="text-align: center;">manage-bids-item-lore:</div><div style="text-align: center;">- '&7From here you can forcefully'</div><div style="text-align: center;"> - '&7remove bids that are not claimed.'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7You can delete them by giving'</div><div style="text-align: center;"> - '&7the coins/item to the bidder'</div><div style="text-align: center;"> - '&7via a delivery or just delete them.'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#This is the manage bids item for auctions that are not ended</div><div style="text-align: center;">manage-bids-item-name2: '&aDelete Bids'</div><div style="text-align: center;">manage-bids-item-lore2:</div><div style="text-align: center;">- '&7From here you can forcefully'</div><div style="text-align: center;"> - '&7remove bids from an auction.'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7You can delete them by giving'</div><div style="text-align: center;"> - '&7the coins to the bidder'</div><div style="text-align: center;"> - '&7via a delivery or just delete them.'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">get-item-copy-name: '&aGet Item Copy'</div><div style="text-align: center;">get-item-copy-lore:</div><div style="text-align: center;">- '&7Copy in your inventory'</div><div style="text-align: center;"> - '&7the item held by this auction.'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">force-end-auction-name: '&aEnd Auction'</div><div style="text-align: center;">force-end-auction-lore:</div><div style="text-align: center;">- '&7Click to forcefully end'</div><div style="text-align: center;"> - '&7an auction by setting it''s'</div><div style="text-align: center;"> - '&7ending date to the'</div><div style="text-align: center;"> - '&7current time.'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&cATENTION!'</div><div style="text-align: center;"> - '&7This is not reversible!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">edit-duration-item-name: '&aEdit Auction''s Duration'</div><div style="text-align: center;">edit-duration-item-lore:</div><div style="text-align: center;">- '&7Click to modify the auction''s'</div><div style="text-align: center;"> - '&7duration by setting or'</div><div style="text-align: center;"> - '&7adding/substracting time.'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7All modifications are in minutes'</div><div style="text-align: center;"> - '&7for more accuracy, if you want'</div><div style="text-align: center;"> - '&7hours/days just do the math...'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&eLeft Click to set Duration'</div><div style="text-align: center;"> - '&bRight Click to add/substract'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">selected-player-item-name: '&aSelected Player'</div><div style="text-align: center;">selected-player-item-lore:</div><div style="text-align: center;">- '&7Click to select a player for whom'</div><div style="text-align: center;"> - '&7you will apply the options below.'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7Selected Player: &a%player%'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7Attention! The delivery will be sent'</div><div style="text-align: center;"> - '&7even if the username entered'</div><div style="text-align: center;"> - '&7does not exist!'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7Current Delivery Data:'</div><div style="text-align: center;"> - '&7Delivery Items: &e%items-count%'</div><div style="text-align: center;"> - '&7Delivery Coins: &e%coins%'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">delivery-send-item-name: '&aSend Delivery'</div><div style="text-align: center;">delivery-send-item-lore:</div><div style="text-align: center;">- '&7Click to config a'</div><div style="text-align: center;"> - '&7delivery and send it to'</div><div style="text-align: center;"> - '&7the selected player.'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">delivery-set-item-name: '&aSet Delivery'</div><div style="text-align: center;">delivery-set-item-lore:</div><div style="text-align: center;">- '&7Click to config a'</div><div style="text-align: center;"> - '&7delivery that will overwrite'</div><div style="text-align: center;"> - '&7any existent delivery of'</div><div style="text-align: center;"> - '&7the selected player.'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">delivery-remove-item-name: '&aRemove Delivery'</div><div style="text-align: center;">delivery-remove-item-lore:</div><div style="text-align: center;">- '&7Click to remove all'</div><div style="text-align: center;"> - '&7items and coins from'</div><div style="text-align: center;"> - '&7selected player''s delivery.'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">delivery-item-clone-name: '&aGet Delivery Items'</div><div style="text-align: center;">delivery-item-clone-lore:</div><div style="text-align: center;">- '&7Get the items from player''s delivery'</div><div style="text-align: center;"> - '&7in your inventory. If you don''t have'</div><div style="text-align: center;"> - '&7enough space, the remaining items will'</div><div style="text-align: center;"> - '&7be dropped on the ground.'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">no-selected-player-message: '&cYou can''t click this until you have a player selected!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">no-delivery-to-send: '&cI have nothing to send, select some coins and/or put some items in the free slots!'</div><div style="text-align: center;">no-delivery-to-set: '&cI have nothing to set, if you want to remove their delivery, use the right setting.'</div><div style="text-align: center;">no-delivery-to-work-with: '&cThe selected player has no delivery so this action won''t work!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">delivery-coins-item-name: '&aDelivery Coins'</div><div style="text-align: center;">delivery-coins-item-lore:</div><div style="text-align: center;"> - '&7Current Coins: &6%coins% coins'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7Click to edit the amount'</div><div style="text-align: center;"> - '&7of coins this delivery will'</div><div style="text-align: center;"> - '&7contain.'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">confirm-action-item-name: '&aDone!'</div><div style="text-align: center;">confirm-action-item-lore:</div><div style="text-align: center;">- '&7If you think you are'</div><div style="text-align: center;"> - '&7done and want to complete'</div><div style="text-align: center;"> - '&7this action, click here!'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">cancel-action-item-name: '&cCancel'</div><div style="text-align: center;">cancel-action-item-lore:</div><div style="text-align: center;">- '&7Cancel this action and'</div><div style="text-align: center;"> - '&7go back to the'</div><div style="text-align: center;"> - '&7previous menu.'</div></div>
复制代码
|
每一个其他种类的菜单也都有特定的配置
example_menu.yml:
- <div style="text-align: center;"><div style="text-align: center;">others-menu-item: '32'</div><div style="text-align: center;">others-menu-name: '&2Others'</div><div style="text-align: center;">others-menu-lore:</div><div style="text-align: center;">- '&8Category'</div><div style="text-align: center;"> - ''</div><div style="text-align: center;"> - '&7Anything that is'</div><div style="text-align: center;"> - '&7auctionable and not'</div><div style="text-align: center;"> - '&7in other categories.'</div><div style="text-align: center;"></div><div style="text-align: center;"></div><div style="text-align: center;">#If you have custom items that you want to be in this</div><div style="text-align: center;">#category, specify their name here</div><div style="text-align: center;">custom-item-names:</div><div style="text-align: center;">- '&e&lExample &6&lItem'</div></div>
复制代码
|
拍卖的菜单由4个主要元素组成:拍卖浏览、查看拍卖出价、管理拍卖物品、支付金钱。
在“管理拍卖”菜单中会显示您自己的拍卖物品,如果它是存在的,
否则它将会为您打开拍卖物品的创建菜单。为此创建一个新的拍卖,你必须支付起拍价和拍卖持续的时间的费用(两者都是可配置的)。你最多可以同时进行28场拍卖。
如果您点击“查看出价”菜单将显示您有出价的所有项目,并告诉您最新出价的项目有多少的数量。
你可以有最多28个出价在同一时间。
拍卖浏览由更多类别组成,在这些类别中,拍卖将被过滤(在特定类别配置中可以修改项目的登录方式)。
此外,拍卖浏览器菜单有一个搜索功能以及排序系统!
拍卖的持续时间将动态显示在“拍卖浏览器”菜单中。
拍卖浏览菜单如下:
在检查拍卖时,拍卖的出价显示在出价历史项目上。如果你有一个以前的出价在拍卖会上,并想再次出价,它将只从你的余额之间的差额之前的出价和新的出价,但在每一个新的出价,你必须出价至少15%的硬币比最高出价。
主数据库是以txt格式存储的,所以如果需要的话,您可以查看里面的内容,如果需要的话,您可以从那里获取您认为对您有帮助的数据。当服务器停止时会更新主数据库,但为了确保事件不会被强制关机/超时取消,数据库也会每隔30分钟更新一次(更新周期可在配置中配置)。
传递是特殊的,它们单独存储在SQLite文件中,因此会不断更新。只有管理员可以通过“管理”菜单发送邮件。
它们的使用示例:无人认领的拍卖会在主数据库中保留很长一段时间,您希望将其删除。你可以通过两种方式删除它,删除物品和出价(这样它们将永远丢失),或者删除拍卖并通过交付将物品和出价发送给其所有者。
说实在的,我没有机会在一个有5个以上玩家的网络上测试这个插件,所以我不知道它在一个大网络上会有什么反应。如果有任何错误,导致一些球员失去他们的项目,你可以得到他们回来!在日志文件中,创建拍卖时,拍卖中的项目将存储在base64中,并且可以通过控制台命令/ahadmin give<player><base64 item>将其提供给播放器。base64项是一个很长的字符串,带有随机字符,它将出现在如下日志中:“[%time stamp%](高级)base64中的项:%item%”。如果你在取货方面有问题,请联系我(下面是我的意见不合,或者只是给我一个关于插口的信息)。
我试着给管理员很多控制权,所以,正如你会注意到的,它有很多选择。
主管理命令是/ahadmin,它将打开主管理菜单,但是
您还可以使用/ahadmin帮助查看管理命令列表。
使用管理命令和菜单的权限是auctionmaster.admin,但可以将其更改为配置。
使用“管理”菜单的Gui:
这个插件与Citizens兼容!你可以创建一个NPC,点击后会打开菜单!为此,你还需要【HolographicDisplays 或者 Holograms】!
当两者都安装时,全息显示将会具有优先权。
创建的NPC就像是创建一个普通的NPC,你可以编辑关于它的任何东西,除了它的名字或者它将无法使用的时候。
原作者的话:
我不认为我涵盖了插件的所有内容,但我想不出我错过了什么。对我来说,作为插件的作者,一切看起来都很自然,我不知道应该坚持什么样的解释。
如果你对插件有任何问题,请联系我!
我的discord是qKing12#1918
我通常在不和谐时反应更快,但你也可以用水龙头把我弄坏!
我想说这是我做的第二个插件,很有挑战性。当我开始做这个的时候我甚至不知道如何打开一个箱子
I don't think I covered everything the plugin contains in the upper text but I can't think of what I missed. For me, as the author of the plugin, everything seems natural and I don't know on what I should insist with explications.
If you have a problem with the plugin, any kind of problem, please contact me!
My discord is qKing12#1918
I usually respond faster on discord but you can dm me on spigot too!
I want to say this is the second plugin I ever make, it was quite challenging. When I started this I didn't even know how to make a chest open :D.
|
PS:最后这一段 我用了翻译软件
PS:以上均来自作者的spigot 发布插件网页, 部分使用了翻译软件, 大部分是我自己翻译的, 更多详细内容请去原帖观看
想使用管理员菜单! 必须加入NPC插件和全息插件! 不加入是不行的! 基础插件已经放在帖内 其余的自行查找
点击下述网页即可下载:
我的其他搬运:
[娱乐][汉化]Amazing Fishing——疯狂钓鱼 在生存中享受钓鱼的乐趣吧![1.13-1.15.2]
(出处: Minecraft(我的世界)中文论坛)
-
-
AuctionMaster.zip
20.7 KB, 下载次数: 122
汉化文件