Coder Social home page Coder Social logo

itemcase's Introduction

ItemCasePE

Warning:This PM4 Version is not stable!

  • Summary: An implementation of Bukkit's ItemCase
  • Dependency Plugins: n/a
  • PocketMine-MP version: 4.0.0
  • OptionalPlugins:
  • Categories: General
  • Plugin Access: Tile Entities, Items/Blocks
  • WebSite: github

Overview

A simplistic implementation of Bukkit's ItemCase.

Command:

  • /itemcase add

Then while holding an item, tap on a slab or glass block. This will create an itemcase with that item.

To destroy, just destroy the block where the itemcase was placed.

Documentation

Case data is placed on a file in the world folder. This is loaded during world load and unloaded during unload.

Available sub-commands:

  • /itemcase add
    Adds an ItemCase with object on hand.
  • /itemcase cancel
    Aborts an add operation.
  • /itemcase respawn
    Debug sub-command. Re-creates all ItemCases.

Configuring

By default you need to place items on Slabs or on Glass blocks. This is classic mode. You can, if you want, enable new wave mode. This would let you place items on any type of blocks. To enable this, modify the config.yml file:

settings:
  classic: true

Change the line classic from true to false. Note that new wave mode is experimental and has not been fully tested.

Permission Nodes:

  • itemcase.cmd: allow players access to the itemcase command
  • itemcase.destroy: allow players destroy cases

Changes

  • 1.0.8 : No AIR cases
    • Do not allow to place cases with AIR only. Reported by @Pub4Game. Closes #30.
  • 1.0.7 : Update for PM1.6dev
    • Checks which function to call (isPlaceable/canBePlaced) without having to check version.
  • 1.0.6 : Update for PM1.6dev
    • changed isPlaceable for canBePlaced
  • 1.0.5 : BugFix
    • Fixed a small bug related to new wave mode.
  • 1.0.4 : new wave vs classic
    • Added new wave mode that allows you to place itemcases everywhere.
    • Removed callbacktask deprecation warning
  • 1.0.2 : Bugfix
    • Fixed bugs and improved permissions.
  • 1.0.1 : Bugfix
    • Fixed despawn when chunk unloads
  • 1.0.0 : First release

Copyright

ItemCasePE
Copyright (C) 2015 Alejandro Liu  
All Rights Reserved.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

itemcase's People

Contributors

awzaw avatar itstoxicgg avatar vixikhd avatar poggit-bot avatar sof3 avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.