Skip to content
This repository has been archived by the owner on Jul 11, 2018. It is now read-only.

Commit

Permalink
1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandroliu committed Oct 31, 2016
1 parent c8747e8 commit b4faff3
Show file tree
Hide file tree
Showing 16 changed files with 583 additions and 177 deletions.
144 changes: 65 additions & 79 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,84 +1,54 @@
<img src="https://raw.githubusercontent.com/alejandroliu/bad-plugins/master/Media/icon-toy-box.png" style="width:64px;height:64px" width="64" height="64"/>
<img src="https://raw.githubusercontent.com/Muirfield/ToyBox/master/media/icon-toy-box.png" style="width:64px;height:64px" width="64" height="64"/>

ToyBox
======
# ToyBox

* Summary: A box full of fun toys and tools
* Dependency Plugins: N/A
* PocketMine-MP version: 1.4 - API 1.10.0
* PocketMine-MP version: 1.4 (API:1.10.0), 1.5 (API:1.12.0)
* DependencyPlugins: -
* OptionalPlugins: N/A
* Categories: Fun
* Plugin Access: Blocks, Commands
* WebSite: [github](https://github.com/alejandroliu/bad-plugins/tree/master/ToyBox)

Overview
--------
## Overview

Provide additional items with special functionality to PocketMine.

* TreeCapitator - axe that destroys trees quickly
* CompassTP - Teleporting compass
* Trampoline - Jump and down blocks
* CloakClock - Clock that gives Invisibility
* PowerTool - pickax that destroys blocks instantly
* Floating Torch - Floating torch that follows you around
* Magic Carpet - Fly with a carpet made of glass

### TreeCapitator
<!-- php: $v_forum_thread = "http://forums.pocketmine.net/plugins/toybox.1135/"; -->
<!-- template: prologue.md -->

Equip an Axe. Then enter the command `/treecapitator`. Go to a tree
and break the lowest block. This will then eliminate the entire tree
above. If it did'nt block the first time, break the next lowest block
(which now is floating over the air).
**DO NOT POST QUESTION/BUG-REPORTS/REQUESTS IN THE REVIEWS**

### CompassTP
It is difficult to carry a conversation in the reviews. If you
have a question/bug-report/request please use the
[Thread](http://forums.pocketmine.net/plugins/toybox.1135/) for
that. You are more likely to get a response and help that way.

Holding the compass, tap on the screen for one second. It will
teleport you in the direction you were looking at.
**NOTE:**

### Trampoline
This documentation was last updated for version **1.2.1**.

Place some Sponge on the ground. Jump on them. Watch out your
landing!
Please go to
[github](https://github.com/alejandroliu/bad-plugins/tree/master/ToyBox)
for the most up-to-date documentation.

### CloakClock
You can also download this plugin from this [page](https://github.com/alejandroliu/pocketmine-plugins/releases/tag/ToyBox-1.2.1).

Holding a Clock, tap on the sreen. If it doesn't work, hold the
screen for 1 second. Will enable invisibility.
<!-- template-end -->

### Power Tool

Enter the command `/powertool`. Equip a pick axe and start tapping on
blocks. They will be destroyed instantly.

### Floating Toch

Equip a torch, and tap on the screen. This will create a torch that
will follow you around iluminating the way you are going.

### Magic Carpet

Enter the command `/magiccarpet`. Walk normally, to go up jump, to go
down look down. Be careful when going down as you can easily hurt
yourself.


Documentation
-------------

### Commands
Provide additional items with special functionality to PocketMine.

* *treecapitator*
Toggles treecapitator usage.
* *powertool*
Toggles powertool usage
* *magiccarpet*
Toggle magic carpet
* TreeCapitator - axe that destroys trees quickly
* CompassTP - Teleporting compass
* Trampoline - Jump and down blocks
* CloakClock - Clock that gives Invisibility
* PowerTool - pickax that destroys blocks instantly
* Floating Torch - Floating torch that follows you around
* Magic Carpet - Fly with a carpet made of glass
* VeinMiner - mine ore shortcut

### Configuration
## Configuration

---

# Enable or disable specifif toys
modules:
treecapitator: true
Expand All @@ -88,16 +58,21 @@ Documentation
cloakclock: true
floating-torch: true
magic-carpet: true
veinminer: true

# Configure torch data
floating-torch:
item: TORCH
block: TORCH

# Configure compass items
compasstp:
item: COMPASS

# Configure cloaking item
cloakclock:
item: CLOCK

# Configure power tools
powertool:
ItemIDs:
Expand All @@ -109,6 +84,7 @@ Documentation
need-item: true
item-wear: 1
creative: true

# Configure TeeCapitator
treecapitator:
ItemIDs:
Expand All @@ -122,6 +98,7 @@ Documentation
item-wear: 1
broadcast-use: true
creative: true

# Configure trampoline blocks
trampoline:
blocks:
Expand All @@ -130,33 +107,42 @@ Documentation
block: GLASS
...

### Permission Nodes:

* toybox.treecapitator: Allow treecapitator
* toybox.compasstp: Allow treecapitator
* toybox.powertool: Allow the use of powertool
* toybox.cloakclock.use: Can use cloakclock
* toybox.cloakclock.inmune: Can see players using cloakclock
* toybox.torch: Allow use of torch
* toybox.magiccarpet: Allow use of Magic carpet

Todo
----

* Ball - ??

Changes
-------

### Permission Nodes

* toybox.treecapitator : Use treecapitator
(Defaults to Op)
* toybox.magiccarpet : MagicCarpet command
(Defaults to Op)
* toybox.compasstp : Teleport with compass
(Defaults to Op)
* toybox.powertool : Allow the use of powertool
(Defaults to Op)
* toybox.cloakclock.use : Can use cloakclock
(Defaults to Op)
* toybox.cloakclock.inmune : Can see players using cloakclock
(Defaults to Op)
* toybox.torch : Can use floating torch
(Defaults to Op)
* toybox.veinminer : Allow the use of veinminer
(Defaults to Op)


## Changes

* 1.2.1: VeinMiner
* 1.1.2: Torch
* Forgot to fix the torch
* 1.1.1: Maintenance release
* Fixed magic carpet for 1.5
* Translations: Spanish, English
* 1.1.0 : Next release
* Added Floating Torch
* Added magic carpet
* Configuration is more readable
* Removed CallbackTask deprecation warnings
* 1.0.0 : First submission

Copyright
---------
## Copyright

ToyBox
Copyright (C) 2015 Alejandro Liu
Expand Down
50 changes: 27 additions & 23 deletions plugin.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,35 @@
main: aliuly\toybox\Main
api: 1.10.0
api: [1.10.0,1.12.0]
load: POSTWORLD

name: ToyBox
description: A box full of fun toys and tools
version: 1.1.0
version: 1.2.1
author: aliuly
website: https://github.com/alejandroliu/bad-plugins/tree/master/ToyBox

permissions:
toybox.treecapitator:
default: op
description: "Use treecapitator"
toybox.magiccarpet:
default: op
description: "MagicCarpet command"
toybox.compasstp:
default: op
description: "Teleport with compass"
toybox.powertool:
default: op
description: "Allow the use of powertool"
toybox.cloakclock.use:
default: op
description: "Can use cloakclock"
toybox.cloakclock.inmune:
default: op
description: "Can see players using cloakclock"
toybox.torch:
default: op
description: "Can use floating torch"
toybox.treecapitator:
default: op
description: "Use treecapitator"
toybox.magiccarpet:
default: op
description: "MagicCarpet command"
toybox.compasstp:
default: op
description: "Teleport with compass"
toybox.powertool:
default: op
description: "Allow the use of powertool"
toybox.cloakclock.use:
default: op
description: "Can use cloakclock"
toybox.cloakclock.inmune:
default: op
description: "Can see players using cloakclock"
toybox.torch:
default: op
description: "Can use floating torch"
toybox.veinminer:
default: op
description: "Allow the use of veinminer"
64 changes: 64 additions & 0 deletions resources/messages/messages.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
; messages.ini
"%1%: Invalid item %2%, ignoring"=""
"%1%: Invalid item %2%, using default"=""
"%1% used TreeCapitator"=""
"%1% used VeinMiner (%2% blocks affected)"=""
"%1% used VeinMiner (one block affected)"=""
"/magiccarpet"=""
"/powertool"=""
"/treecapitator"=""
"/veinminer"=""
"A magic carpet of size %1%\nappears below your feet."=""
"Can not teleport to the void!"=""
"CloakClock activated"=""
"CloakClock de-actived"=""
"Enable/Disable PowerTool"=""
"Enable/Disable VeinMiner"=""
"Enable/Disable treecapitator"=""
"Fly with a magic carpet"=""
"Magic carpet lost due to teleport!"=""
"No blocks configured"=""
"Not teleporting..."=""
"PowerTool activated"=""
"PowerTool de-actived"=""
"Teleporting... %1%"=""
"The magic carpet disappears"=""
"Torch activated"=""
"Torch de-activated"=""
"Trampoline blocks: %1%"=""
"TreeCapitator activated"=""
"TreeCapitator de-actived"=""
"Unable to load alias %1%"=""
"Used TreeCapitator"=""
"Using VeinMinger"=""
"VeinMiner activated"=""
"VeinMiner de-actived"=""
"You can only do this in-game"=""
"You could easily walk there!"=""
"enabled %1% modules"=""
"#%1%-mode"=""
"#* EconomyAPI or"=""
"#* GoldStd"=""
"#* MassiveEconomy"=""
"#* PocketMoney"=""
"#. Please install one of the following:"=""
"#Adventure"=""
"#Available sub-commands for %1%"=""
"#Creative"=""
"#Description: "=""
"#Enable %1% features"=""
"#Enabled %1% features"=""
"#Enabled one feature"=""
"#Help: "=""
"# MISSING MONEY API PLUGIN"=""
"#NO features enabled"=""
"#No help for %1%"=""
"#No sub-command specified"=""
"#Spectator"=""
"#Survival"=""
"#Unknown feature \"%1%\" ignored."=""
"#Unknown sub-command %2% (try /%1% help)"=""
"#Usage: "=""
"#Using money API from %1%"=""
"#You are not allowed to do this"=""
"#You do not have permission to do that."=""
Loading

0 comments on commit b4faff3

Please sign in to comment.