PrtSell

插件

· 作者 Pretti_

使用命令或自动在服务器上出售物品。

0 本站下载 0 关注 更新于 1 年前

最新 1.0.0 · 1.21.10 · Bukkit / Paper

一键开服(送7天)

PrtSell 是一款简单、快速且高效的插件,旨在允许玩家出售他们在服务器上收集的物品。它提供多种售卖方式,让每位玩家都能选择自己喜欢的风格,将资源转化为金钱。

功能:

  • 多版本兼容:支持 Minecraft 1.8 至 1.21 版本。
  • 性能优化:资源占用低,适用于高负载服务器。
  • 高度可配置:完全自定义插件的每一项功能。
  • 不同的售卖方式:通过命令、潜行或自动进行售卖。
  • 创建售卖倍率:创建无限数量的加成,这些加成可以累积也可以不累积。

依赖插件:

本插件支持市场上的多个其他插件。

  • Vault
  • 其他...

命令:

/sell = 出售物品栏中的物品
/sell hand = 出售手持物品
/sell auto = 启用或禁用自动售卖
/sell shift = 启用或禁用潜行售卖
/sell reload = 重载插件

别名: [/vender]

权限:

  • prtsell.command = 运行 /sell 或 /vender 的权限
  • prtsell.command.help = 运行 /sell help 的权限
  • prtsell.command.auto = 运行 /sell auto 的权限
  • prtsell.command.shift = 运行 /sell shift 的权限
  • prtsell.command.hand = 运行 /sell hand 的权限

配置文件:

Configs
#  ____      _   ____    _ _
# | _ \ _ __| |_/ ___|  ___| | |
# | |_) | '__| __\___ \ / _ \ | |
# | __/| |  | |_ ___) |  __/ | |
# |_|  |_|  \__|____/ \___|_|_|
#
# Created by Pretti_
#

#
# Permissions
#
# prtsell.command       = Permission to run /sell or /vender
# prtsell.command.help  = Permission to run /sell help
# prtsell.command.auto  = Permission to run /sell auto
# prtsell.command.shift = Permission to run /sell shift
# prtsell.command.hand  = Permission to run /sell hand
#
# prtsell.command.reload = Permission to run /sell reload

#
# General options
#
options:
  enable-auto-sell: true
  enable-shift-sell: true
  enable-hand-sell: true

  # Message sending option
  command:
    use-chat: true
    use-actionbar: false
  auto-sell:
    use-chat: true
    use-actionbar: true
  shift-sell:
    use-chat: true
    use-actionbar: true

  # Selling formats
  use-format: true # Use format? If not used, the received value will be printed as a literal number.
  formats:
  - "" # 659
  - "K" # 1.000 -> 1K
  - "M" # 1.000.000 -> 1M
  - "B" # 1.000.000.000 -> 1B
  - "T" # 1.000.000.000.000 -> 1T
  - "Q" # 1.000.000.000.000.000 -> 1Q

#
# Delay options
#
delays: # Delay in ticks (1 sec = 20 ticks), this is the frequency at which players can sell items.
  default: 20 # Default delay in ticks (20 ticks = 1 second)

  time-disable-auto-sell-inactive-sec: 300 # Time in seconds (300 sec = 5 minutes)

  types:
    '1':
      permission: "prtsell.autosell.delay.vip+"
      delay: 5
    '2':
      permission: "prtsell.autosell.delay.vip"
      delay: 10 # Time in ticks (60 ticks = 0.5 seconds)

#
# Sales bonus list
# The order set defines the bonus priority, that is, the bonus with the highest priority will be called first.
#
multiplier:
  accumulate-multiplier: false # The bonuses will be accumulated, adding up the bonuses that the player has access to.
  types:
    '1':
      permission: 'prtsell.bonus.vip+' # Permission that will be checked to apply the bonus
      multiplier: 1.16  # Value in percentage (1.16 = 16%)
    '2':
      permission: 'prtsell.bonus.vip'
      multiplier: 1.08 # Value in percentage (1.08 = 8%)

消息:

Messages
#
# Messages options
#
messages:
  help:
  - ""
  - "&6&lSell &7- &eHelp commands:"
  - ""
  - "&6* &e/sell &f= &7Sell items"
  - "&6* &e/sell hand &f= &7Sell hand item"
  - "&6* &e/sell auto &f= &7Enable or disable auto-sell"
  - "&6* &e/sell shift &f= &7Enable or disable shift-sell"
  - "&6* &e/sell reload &f= &7Reload the plugin"
  - ""

  no-permission: '&4&lSELL &4» &cYou do not have permission to perform this action!'

  player-only: '&4&lSELL &4» &cThis command can only be used by players!'

  reload: '&2&lSELL &2» &7Plugin reloaded!'
  reload-error: '&4&lSELL &4» &cFailed to reload plugin! Check the console for more information!'

  chat:
    sold: '&2&lSELL &2» &7You sold &b{amount} items &7for &a{price}&7!'
    sold-bonus: '&2&lSELL &2» &7You sold &b{amount} items &7for &a{price}&7! &7Bonus: &b{multiplier}%&7.'
    no-items: '&4&lSELL &4» &cYou have no items that can be sold!'
    delay: '&4&lSELL &4» &cYou must wait {delay} seconds before selling again!'
  actionbar:
    sold: '&7You sold &b{amount} items &7for &a{price}&7!'
    sold-bonus: '&7You sold &b{amount} items &7for &a{price}&7! &7Bonus: &b{multiplier}%&7.'
    no-items: '&cYou have no items that can be sold!'
    delay: '&cYou must wait {delay} seconds before selling again!'

  auto-sell:
    activated: '&2&lSELL &2» &7Auto-sell has been activated!'
    disabled: '&4&lSELL &4» &cAuto-sell has been disabled!'
    time-disable-inactive: '&4&lSELL &4» &cAuto-sell disabled, no items were sold for 5 minutes!'

  shift-sell:
    activated: '&2&lSELL &2» &7Shift-sell has been activated!'
    disabled: '&4&lSELL &4» &cShift-sell has been disabled!'

价格设置:

Prices
prices:
  # The declaration priority of items matters. Items higher on the list will try to be sold first.
  items:
  # Examples
  - type: CACTUS
    price: 31.0

  - type: WHEAT
    price: 8.5

  - type: STRING
    price: 29.5

  # Amount examples
  - type: DIRT
    amount: 2204 # Not necessary, if not specified, it will be 1
    price: 24000.0

  # NAMED ITEM
  - type: DIRT
    name: '&9Dirt'
    lores:
    - '&9* &7Use &a/sell&7.'
    price: 0.30

重要通知:

PrtSell 是一个多版本插件,兼容 Minecraft 1.8 至 1.21 版本,旨在为服务器提供独特而 exciting 的体验。然而,和任何插件一样,它可能包含一些 bug。

如果你在使用该插件时遇到任何问题或错误,请不要在评论频道中发布。相反,请直接发送私信给我,以便我尽快调查并解决问题。

此外,请留下好评!它们有助于推动插件的开发和未来更新,确保持续改进和新功能的添加。

你的合作对于保持插件的稳定运行并为所有用户提供最佳体验至关重要!

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源