• 因近日遭受攻击,百科现已限制新用户的编辑权限,一段时间后成为自动确认用户方可编辑。

StackableItems

From Minecraft插件百科
Jump to: navigation, search
Icon-info.png
本页面已存在其他语言的内容,请协助翻译为本地化的中文。
  • 点击此处开始翻译。
  • 如本模板出现在原文存档页面,请注意更新主页面后,仍需要去除此处该模板
  • 如当前页面已经没有需要翻译的内容,请删去待翻译模板
  • 有标题的大篇幅文章,如果短时间内无法全部翻译,请先把所有的标题翻译出来,以便
  • 之后的贡献者选择与翻译章节内容。


StackableItems allows you to raise or lower the default stack amounts for any item. Items can also be disabled (disallows pickup and crafting). Items can be set in three different ways: individual players, permission groups (requires Vault), and universally.

Example use cases:

Carrying 16 snowballs while carrying 64 cubic meters of dirt is ridiculous. Carry a stack of water buckets or mushroom soup with you so you never run out Make potions stack Limit stacks of food for a hardcore survival server Allow only privileged users to craft/pickup TNT Allow individual players to craft custom items Download: BukkitDev

Source Code: Github

Example configurations

As of 0.8, capping amounts to 127 to prevent item loss. Configurations use Bukkit Material names. More info on the Configurations page.

Custom configs per group/player

Each Permissions group or player can be setup to use their own custom config by creating a new file in the StackableItems directory. Examples for me would be: I am in group admin and player haveric, so I could use admin.yml or haveric.yml

A group file will override defaultItems for the Permission group.

A player file will override a group file or defaultItems for the given player.

Permissions

- stackableitems.admin Allows a player to use in-game commands to set stack amounts and reload the config. Permissions can also be used to create groups which can be handled with group.yml (ex: admin.yml) files Options

See the options page for detailed descriptions of each option in options.yml

Changelog

Please read the configuration guide for 1.0, especially if upgrading from an older version.

Version 1.0.2 (1/19/2015)

Updated Material api link to spigot's version of bukkit Fixed an issue with HopperMinecarts Fixed inventory swapping directions to match vanilla shift clicking Fixed crafting with number keys putting items in the wrong slots Fixed shift clicking items to inventories Fixed shift clicking nether wart into brewing stands Fixed shift click stacking in the first slot of horse inventories Fixed 1.8 shift click inventory swapping in enchantment tables See the full changelog for previous updates.

Problem or Bug?

If you are having any issues or encounter any bugs, check the issue tracker on github first, and submit a new one if needed.

If you like my plugins or want to see me make more plugins, please consider donating. There's a donate button at the top of the page.

Metrics

This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:

A unique identifier The server's version of Java Whether the server is in offline or online mode The plugin's version The server's version The OS version/name and architecture The core count for the CPU The number of players online The Metrics version