GithubHelp home page GithubHelp logo

minereset's Introduction

MineReset

MineReset is a fancy tool which allows you to create resettable mines the right way. It has been entirely rewritten in version 3.0.

Commands

/mine create <name>

minereset.command.create

This command must be run in game. It will start the creation wizard to create a mine with the specified name. This will require you to tap two points to be the corner blocks of the mine. Upon tapping the second block, the mine will be created and saved.

/mine set <name> <data>

minereset.command.set

In order for MineReset to reset a mine, it needs to know what blocks to put in it and what how often each block should occur. You must specify this in the form <ID> <PERCENT>. So if I wanted mine A to have 50% stone and 50% air, I would run /mine set A 1 50 0 50. MineReset can handle metadata for blocks in the form <ID>:<METADATA> <PERCENT>.

/mine reset <name>

minereset.command.reset

This command wil trigger a manual reset if there is not already one ongoing. Mines are reset in the following way

  1. Chunks in the mine are collected and turned into raw data.
  2. These chunks are loaded and modfied in a seperate task (PocketMine can keep running at the same time).
  3. The chunks are transferred back to PocketMine and set in bulk.

This means that any changes you make to the chunks while the mine is resetting will have no effect and MineReset will attempt to block you.

/mine reset-all

minereset.command.resetall

This command will dispatch a reset for each mine.

/mine destroy [code]

minereset.command.destroy

This command will irreversible delete a mine. When running this command you will be asked to confirm your action by re-running the command with a confirmation code. If you would like to avoid confirming, you should edit the mines.yml file directly.

/mine list

minereset.command.list

This command will list out all existing mines.

/mine about

minereset.command.about

This command will display a little info blurb downloaded from the web.

minereset's People

Contributors

dktapps avatar falkirks avatar infernus102 avatar jacknoordhuis avatar jasonw4331 avatar kris-driv avatar notacoderr avatar poggit-bot avatar pranavbhuv avatar pub4game avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

minereset's Issues

ERROR BUG?

I get this error when I restart my server.. mines were working fine until I restarted the server and got this error::

CRITICAL> TypeError: "Argument 4 passed to minereset\Mine::__construct() must be an instance of pocketmine\level\Level, null given, called in /root/pri/plugins/skaj/src/minereset/MineReset.php on line 198" (EXCEPTION) in "/skaj/src/minereset/Mine" at line 13

Error ;-;

CRITICAL> Unhandled exception executing command 'mate reset a' in mate: Cannot call constructor
[Tesseract] [19:02:59] CRITICAL> Error: "Cannot call constructor" (EXCEPTION) in "/MineReset-master/src/minereset/MineResetTask" at line 33

THANKS MATE

THAT FUCKING UPDATE JUST FIXED EVERYTHING!! :D TTYYYYYY

Disappearing

I have found a bug in which were you reset a mine all nearby signs or sometimes all signs in the world where you reset the mine will disappear and when a player is in the mine and you reset it the player will become invisible and Sometimes when i use the command /mine reset mine1 the plugin will be disabled in the server for the plugin work again i need to restart the server.. Please fix this bug. LEET need it to be fix and other servers too.

Bug with blocks

Make mine out of wood 17, then reset after a few blocks stop falling out and when they put the torch they disappear.
I'm sorry, I translated in Google translator

Error (nvm its all good now)

Whenever I try to do /mine reset name its says this Server thread/CRITICAL Error: "Call to undefined method pocketmine\level\format\Chunk::toBinary()" (EXCEPTION) in "/MineReset_v2.1.phar/src/minereset/Mine" at line 45
27.01 05:43:55 [Server] Server thread/CRITICAL Unhandled exception executing command 'mine reset fix' in mine: Call to undefined method pocketmine\level\format\Chunk::toBinary()
27.01 05:43:55 [Server] Server thread/INFO An unknown error occurred while attempting to perform this command

MineReset Error

I kept on getting this error I don't know why. The mines are at my default world, so it is surely loaded.

[Server thread/CRITICAL]: TypeError: "Argument 4 passed to minereset\Mine::__construct() must be an instance of pocketmine\level\Level, null given, called in phar://C:/Users/user/Desktop/Genisys/plugins/MineReset.phar/src/minereset/MineReset.php on line 184" (EXCEPTION) in "/MineReset.phar/src/minereset/Mine" at line 13

Bug with deleting mine

You did the wrong thing removing mine, /mine destroy does not remove mine from the configuration.

Full reset

i need reset all maps with 1 command please, anyone know how?

API Update

API is wrong the one I'm using is 2.0.0

[15:13:47] [Server thread/ERROR]: Could not load plugin 'MineReset': Incompatible API version
(I've named the phar MineReset)

Tesseract work with MineReset?

MineReset doesn't work with tesseract.. it gives me error when I use Tesseract with this plugin. Can you help me fix?

also, I can't make a PullRequest so I'll just say it here.. can you make where players teleport above the mine when mine resets? thanks

Problem

16.02 09:51:54 [Server] CRITICAL Could not execute asynchronous task MineResetTask: Task crashed
16.02 09:51:54 [Server] CRITICAL Error: "Call to undefined method pocketmine\level\format\Chunk::fromBinary()" (EXCEPTION) in "/MineResett.phar/src/minereset/MineResetTask" at line 39

Teleport to top of mine

I can't make a pull request but here's a good idea.. players teleport above the mines instead of teleporting to spawn.. just like pc

Fix this error

[Server][19:06:18][NOTICE]: InvalidArgumentException: "Argument 4 passed to minereset\Mine::_construct() must be an instance of pocketmine \level\Level,null given,called in phar:///storage/emulated/0/PocketMine/plugins/plugin-214.phar/src/minereset/MineReset.php on line 185 and defined" (E_RECOVERABLE_ERROR) in "/plugin-214.phar/minereset/Mine" at line 183

Help my mine reset plugin stop working

My mine reset plugin has stop I ran a prison sever and I need help ASAP I delete the mines in the mine reset yml and it was working then when I reset the sever it just has stop working there's no errors in the console and when I type /mine nothing comes up not even this isn't a command

mines are not reloaded correctly

it worked at first but after I restart the server it gives me this message 14:39:39 [NOTICE] InvalidArgumentException: "Argument 4 passed to minereset\Mine::__construct() must be an instance of pocketmine\level\Level, null given, called in phar://D:/san andreas/PocketMine-MP/plugins/MineReset_v2.0.3.phar/src/minereset/MineReset.php on line 177 and defined" (E_RECOVERABLE_ERROR) in "/MineReset_v2.0.3.phar/src/minereset/Mine" at line 13
and after that it stopped working I redownloaded it but it did not help

Help fast

I need help with the mine reset plugin it was working fine then it just stop when I type in the command /mine nothing comes up not even it saying this is not a command I run a prison sever and I need to know how to fix this or even restart the plugin and I'll have to do the mines over again I don't care as long as I can get this plugin to work help get me it [email protected]

Error calling constructor

The issues keep being closed by the OP without any answers being given, and new ones keep being opened that provide no information whatsoever.

I feel bad for opening an issue because the other guy is pretty much spamming somewhat related issues and it ends up not addressing any issue whatsoever.

Console is returning the error 05.04 17:06:58 [Server] INFO [Tesseract] [20:06:58] CRITICAL> Error: "Cannot call constructor" (EXCEPTION) in "myzip:///MineReset-master.zip#MineReset-master/src/minereset/MineResetTask" at line 33

It sounds like it may be an issue with Tesseract, I've debated repairing it myself but I've got other plugins that I need to update, and I figured since you're active that it would be better to have the plugin updated.

The plugin runs, it allows me to create and set mines, however, it runs into an issue when trying to reset the mine, and returns that error.

Mine reset error

This error is showing when ever I do /mine reset {mine}

Notice: A non well formed numeric value encountered in C:\Users\Gamer27832 server\Desktop\New folder\plugins\MineReset-master\src\minereset\MineResetTask.php on line 63

Not resetting mines

Says unknown error occurred while attempting to perform this command
Shows this in console
Server thread/CRITICAL Error: "Cannot call constructor" (EXCEPTION) in "/MineReset_v2.2.phar/src/minereset/MineResetTask" at line 20

Not working

29.11 11:27:14 [Server] Server thread/CRITICAL Error: "Cannot call constructor" (EXCEPTION) in "/phar_MineReset-master_I4NXPpOncts6Jzr.phar/src/minereset/MineResetTask" at line 20
29.11 11:27:14 [Server] Server thread/CRITICAL Unhandled exception executing command 'mine reset jj' in mine: Cannot call constructor

Error with /mine reset

I tried to /mine reset a and i got this error

An unknown error occurred while attempting to perform this command
[Tesseract] [13:17:43] CRITICAL> Unhandled exception executing command 'mine reset s' in mine: Cannot call constructor

mine reset error

I did /mine reset a and i got unknown error occured, here is what the console said

CRITICAL> Unhandled exception executing command 'mate reset a' in mate: Cannot call constructor
[Tesseract] [21:14:09] CRITICAL> Error: "Cannot call constructor" (EXCEPTION) in "/MineReset-master/src/minereset/MineResetTask" at line 33

mm

MineReset not working

i start up the server, make a mine and then people mine from it, I reset the mine a couple of times then the plugin stops working. None of the commands work and no errors show up in the console. Is it possible you can fix this ?

Mine-reset disabled by a error

Running 0.13.1 Dev 1266

Server] [23:16:08] [Server thread/NOTICE]: InvalidArgumentException: "Argument 4 passed to minereset\Mine::__construct() must be an instance of pocketmine\level\Level, null given, called in phar:///storage/emulated/0/PocketMine/plugins/plugin-214.phar/src/minereset/MineReset.php on line 182 and defined" (E_RECOVERABLE_ERROR) in "/plugin-214.phar/src/minereset/Mine" at line 13
[Server] [23:16:08] [Server thread/INFO]: Disabling MineReset v2.1

My plugins installed

plugins
[Server] [00:05:03] [Server thread/INFO]: Plugins (48): SimpleAuth v1.7.1, ManyWorlds v2.0.3, WorldEditArt v1.0.0_beta_dev_#048, SignStatus v3.0.0, VIPSlots v0.0.4, AlwaysSpawn v2.2.2, EmptyWorld v1.0.0, NoExplode v1, Slapper v1.2.9, HealthStats v1.1.1, ChestLocker v1.2, Alias v1.2.0, iControlU v1.3, ServerLoveMCPE v3.2, CrateKeys v1.0.5, ItemCloud v1.3, EconomyAPI v2.0.9, EconomyAuction v2.0.2, EconomyCasino v2.0.2, EconomyJob v2.0.4, EconomyLand v2.0.9, EconomyProperty v2.0.6, EconomyPShop v2.0.2, EconomySell v2.0.7, EconomyShop v2.0.7, EconomyTax v2.0.3, EconomyUsury v1.0.1, ItemCasePE v1.0.8, FactionsPro v1.3.2, DevTools v1.10.0, EconomyPotionDispenser v0.0.2, MSpawns v1.5, 1vs1 v0.0.5, Broadcaster v1.16, AdvertisingKick v1.0.0, ChatFilter v1.1, SignShop v2.0.0build3, AutoInv v1.0.1, Farms v1.0-non-alpha, HelpOp v1.0.4, CustomRanks v1.0.0, MineReset v2.1, SimpleAuthHelper v2.0.4, EconomyAirport v2.0.4, VanishNP v1.0.0, RankUp v0.3.1, PurePerms v1.3.0-INDEV, BigBrother v1.5.0-beta

Mine Reset Not Working With Tesseract. Help Please.

I have been using this plugin for quiet a long time but now it has started to giving me error when I try to reset mine.

2017-04-09 [Tesseract] �[16:06:51] INFO> An unknown error occurred while attempting to perform this command�
2017-04-09 [Tesseract] �[16:06:51] CRITICAL> Unhandled exception executing command 'mine reset A' in mine: Cannot call constructor�
2017-04-09 [Tesseract] �[16:06:51] CRITICAL> Error: "Cannot call constructor" (EXCEPTION) in "/MineReset_v2.3.phar/src/minereset/MineResetTask" at line 33

I hope you fix this error/bug as my prison server will be useless without it.

Timer

Is there a timer we can use to automatically reset mines?

Non well formed numeric value

A non well formed numeric value encountered in C:\Users\User\Downloads\PocketMine-MP-master\PocketMine-MP\plugins\MineReset\src\minereset\MineResetTask.php on line 58

    for ($x = $this->a->getX(); $x <= $this->b->getX(); $x++) {
        for ($y = $this->a->getY(); $y <= $this->b->getY(); $y++) {
            for ($z = $this->a->getZ(); $z <= $this->b->getZ(); $z++) {
                $a = rand(0, end($sum));                                                        error is in this line
                for ($l = 0; $l < count($sum); $l++) {
                    if ($a <= $sum[$l]) {
                        $hash = Level::chunkHash($x >> 4, $z >> 4);
                        if(isset($chunks[$hash])){
                            $chunks[$hash]->setBlock($x & 0x0f, $y & 0x7f, $z & 0x0f, $id[$l][0] & 0xff, $id[$l][1] & 0xff);

This is string, why I have this problem?

ERROR?

so i did /mine create a and then when it said 'tap a block to set position 1' i tapped on a block but it didn't ask for the second position. When i /mine set a 1 90 and then /mine reset a.. stone was all over the place

Erro in console

[Server thread/CRITICAL]: TypeError: "Argument 4 passed to minereset\Mine::__construct() must be an instance of pocketmine\level\Level, null given, called in C:\Users\server\Desktop\New folder\plugins\MineReset-master\src\minereset\MineReset.php on line 188" (EXCEPTION) in "/plugins/MineReset-master/src/minereset/Mine" at line 13

Hi my mame is Leo, You can help me to resolve This ? In Your plugin .

error on plugin load

[Server thread/CRITICAL]: TypeError: "Argument 4 passed to minereset\Mine::__construct() must be an instance of pocketmine\level\Level, null given, called in C:\Users\server\Desktop\New folder\plugins\MineReset-master\src\minereset\MineReset.php on line 188" (EXCEPTION) in "/plugins/MineReset-master/src/minereset/Mine" at line 13

Error in console

[13:34:07] [Server thread/INFO]: Enabling MineReset v2.1
[13:34:07] [Server thread/NOTICE]: InvalidArgumentException: "Argument 4 passed to minereset\Mine::__construct() must be an instance of pocketmine\level\Level, null given, called in C:\PocketMine-MP\plugins\MineReset-master\src\minereset\MineReset.php on line 185 and defined" (E_RECOVERABLE_ERROR) in "/MineReset-master/src/minereset/Mine" at line 13
[13:34:07] [Server thread/DEBUG]: #0 /MineReset-master/src/minereset/MineReset(185): minereset\Mine->__construct(minereset\MineReset object, pocketmine\math\Vector3 Vector3(x=49,y=64,z=424), pocketmine\math\Vector3 Vector3(x=49,y=64,z=424), NULL )
[13:34:07] [Server thread/DEBUG]: #1 /MineReset-master/src/minereset/MineReset(26): minereset\MineReset->parseMines(boolean)
[13:34:07] [Server thread/DEBUG]: #2 /src/pocketmine/plugin/PluginBase(86): minereset\MineReset->onEnable(boolean)
[13:34:07] [Server thread/DEBUG]: #3 /DevTools_v1.10.0.phar/src/FolderPluginLoader/FolderPluginLoader(125): pocketmine\plugin\PluginBase->setEnabled(boolean 1)
[13:34:07] [Server thread/DEBUG]: #4 /src/pocketmine/plugin/PluginManager(562): FolderPluginLoader\FolderPluginLoader->enablePlugin(minereset\MineReset object)
[13:34:07] [Server thread/DEBUG]: #5 /src/pocketmine/Server__32bit(1895): pocketmine\plugin\PluginManager->enablePlugin(minereset\MineReset object)
[13:34:07] [Server thread/DEBUG]: #6 /src/pocketmine/Server__32bit(1881): pocketmine\Server->enablePlugin(minereset\MineReset object)
[13:34:07] [Server thread/DEBUG]: #7 /src/pocketmine/Server__32bit(1699): pocketmine\Server->enablePlugins(integer 1)
[13:34:07] [Server thread/DEBUG]: #8 /src/pocketmine/PocketMine(464): pocketmine\Server->__construct(pocketmine\CompatibleClassLoader object, pocketmine\utils\MainLogger object, string phar://C:/PocketMine-MP/PocketMine-MP.phar/, string C:\PocketMine-MP\, string C:\PocketMine-MP\plugins\)
[13:34:07] [Server thread/DEBUG]: #9 (1): require(string phar://C:/PocketMine-MP/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

1)Create mine
2)shutdown the server
3)Include the server

Then appears this error

test2:
- 52
- 52
- 64
- 64
- 422
- 422
- false
- swp

For some reason always spell "swp" instead of the name of the world

MineReset 2.1 is Completely broken Crucial Error

"Argument 4 passed to minereset\Mine::__construct() must be an instance of pocketmine\level\Level, null given, called in phar:///plugins/MineReset_v2.1.phar/src/minereset/MineReset.php on line 182" (EXCEPTION) in "/MineReset_v2.1.phar/src/minereset/Mine" at line 13

Plugin stops working

After I restarted my server (turned off and on) minereset didn't work and it was color red whenever I did ./pl and it didn't show any erros on the console

Error on Pocketmine

[Server thread/CRITICAL]: TypeError: "Argument 5 passed to minereset\Mine::__construct() must be of the type array, boolean given, called in /home/servers/Prison/plugins/~MineReset/src/minereset/MineReset.php on line 198" (EXCEPTION) in "/~MineReset/src/minereset/Mine" at line 13

Overide WorldProtect

If we use WorldProtect protect our own world. But we still want MineReset area's block can be break. Can you do this?

Entities

When you do /mine reset {mine name} signs,slappers, and other entities that are near in the mine will be removed or erased.

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.