Coder Social home page Coder Social logo

inxomnyaa / warpui Goto Github PK

View Code? Open in Web Editor NEW
14.0 4.0 8.0 70 KB

A warp UI and world UI teleportation plugin that supports rotation and pitch.

Home Page: https://poggit.pmmp.io/ci/thebigsmileXD/WarpUI/~

License: GNU General Public License v3.0

PHP 100.00%
teleport-plugin warp teleport pmmp pmmp-plugin warp-ui

warpui's Introduction

WarpUI

A warp and world teleport plugin that supports rotation and pitch.

Features

  • Warps and Worlds can be listed in an UI, and players can teleport to them by clicking the buttons.
  • Colored warp names are supported
  • Rotation of the player (yaw + pitch) is saved for warps
  • There is a command to teleport to warps: /warpui teleport <warpname>
  • Clickable items that can open the warp & world ui
  • You can choose what items to use, rename them & disable them

Permissions

Since Version 3.2.0 permissions for warps have been added. Those are in the following style: warpui.warp. + lowercase warp name, without colors. Same goes for worlds: warpui.world. + lowercase folder name without color codes

  • Warp Spawn: warpui.warp.spawn
  • World Plots: warpui.world.plots Command permissions:
  • WarpUI command: warpui.command.warpui
  • WorldUI command: warpui.command.world Check plugin.yml for further permission information

Changes

  • Version 3.3.0: Permissions are now logically nested. If you used the plugin with an earlier version, you might have to fix your permission sets!

warpui's People

Contributors

inxomnyaa avatar poggit-bot avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

warpui's Issues

Question

is it possible for me to disable the clock and compass?

Not config.yml and not warp

do not generate the config.yml since I want to get the Worlds browser since the utility is that of warps, and I do not see a command to add a warp, how do I add them?

Warp Perms

is it possible to remove and set perms for players with certain ranks?

Worldui issue

Recently, when joining into my server I've experienced a bug that made me and all the members join into the other world, with the clock i can easily get back to the other world but I want it so the main world is the spawn world and I can't seem to get it that way, is there a certain way we can set the spawn world? I don't want my new members spawning in the other one. Help!!

Permissions not working

when adding a warp with / warp add it works perfectly but when using the compass only Warps appear to me and other players don't, do I do something wrong or is there an error?

Suggestion: Warp perms

You should add a way to set a perm per warp so like I can’t tp to warp shop I can only to if I have a certain perm but the perm is only for that warp

not working permissions

i have been trying to get this plugins permissions with warps to work
i can set it so the command well not let the ui open or when i set it to open it lets all warps be used

is there any way you could help my discord is IcyEndymion004#3547

Bug

The generated warp is not saved. (Server reboot) No Configuration exists. And COMPASS does not work. Please let me know quickly.

@thebigsmileXD

error

use xenialdan\customui\elements\Button;
use xenialdan\customui\windows\SimpleForm;

My console says:
Server thread/CRITICAL Error: "Class 'xenialdan\customui\windows\SimpleForm' not found" (EXCEPTION) in "plugins/WarpUI-3c8af24998fded36d29d3f4f4e5e02cb6ce7510a/src/xenialdan/WarpUI/Loader" at line 99

Broke on alpha 11

13.02 21:05:07 [Server] Server thread/CRITICAL Error: "Call to undefined method pocketmine\Player::sendForm()" (EXCEPTION) in "WarpUI-master/src/xenialdan/WarpUI/EventListener" at line 35
13.02 21:05:07 [Server] Server thread/DEBUG #0 src/pocketmine/plugin/MethodEventExecutor(38): xenialdan\WarpUI\EventListener->onInteract(pocketmine\event\player\PlayerInteractEvent object)
13.02 21:05:07 [Server] Server thread/DEBUG #1 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(xenialdan\WarpUI\EventListener object, pocketmine\event\player\PlayerInteractEvent object)
13.02 21:05:07 [Server] Server thread/DEBUG #2 src/pocketmine/plugin/PluginManager(683): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\player\PlayerInteractEvent object)
13.02 21:05:07 [Server] Server thread/DEBUG #3 src/pocketmine/Player(2361): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\player\PlayerInteractEvent object)
13.02 21:05:07 [Server] Server thread/DEBUG #4

Bug/help?

Non ops cant use the warp command i added both perm nodes and they still cant open the menu i added warpui.warp.(warp name), warpui.warp and warpui.warp.* and still says i dont have permission
1F9193B1-B54B-49A9-B121-BD3302A6A62A

Permission doesn't works

Hi, when i click with the compass it shows 0 warps, I did 2 warps called "Spawn" "Enchant". I did the warp "Spawn" in the "World" , so when I added the permission to the players it doesn't works (warps) permissions that I give: warpui.World.Spawn / warpui.world.spawn / warpui.World.spawn / warpui.world.Spawn

Api

which api is compatible with this plugin?

how fix ?

2019-06-05 [22:51:09] [Server thread/CRITICAL]: Error: "Class 'xenialdan\customui\windows\SimpleForm' not found" (EXCEPTION) in "plugins/WarpUI-master/src/xenialdan/WarpUI/EventListener" at line 35
2019-06-05 [22:51:09] [Server thread/DEBUG]: #0 src/pocketmine/plugin/MethodEventExecutor(38): xenialdan\WarpUI\EventListener->onInteract(pocketmine\event\player\PlayerInteractEvent object)
2019-06-05 [22:51:09] [Server thread/DEBUG]: #1 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(xenialdan\WarpUI\EventListener object, pocketmine\event\player\PlayerInteractEvent object)
2019-06-05 [22:51:09] [Server thread/DEBUG]: #2 src/pocketmine/event/Event(99): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\player\PlayerInteractEvent object)
2019-06-05 [22:51:09] [Server thread/DEBUG]: #3 src/pocketmine/level/Level(1914): pocketmine\event\Event->call()
2019-06-05 [22:51:09] [Server thread/DEBUG]: #4 src/pocketmine/Player(2425): pocketmine\level\Level->useItemOn(pocketmine\math\Vector3 object, pocketmine\item\Compass object, integer 1, pocketmine\math\Vector3 object, JackMD\NameSpaceRemover\CustomPlayer object, boolean 1)
2019-06-05 [22:51:09] [Server thread/DEBUG]: #5 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(149): pocketmine\Player->handleInventoryTransaction(pocketmine\network\mcpe\protocol\InventoryTransactionPacket object)
2019-06-05 [22:51:09] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/protocol/InventoryTransactionPacket(158): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleInventoryTransaction(pocketmine\network\mcpe\protocol\InventoryTransactionPacket object)
2019-06-05 [22:51:09] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\InventoryTransactionPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
2019-06-05 [22:51:09] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/protocol/BatchPacket(123): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\InventoryTransactionPacket object)
2019-06-05 [22:51:09] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
2019-06-05 [22:51:09] [Server thread/DEBUG]: #10 src/pocketmine/Player(3124): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
2019-06-05 [22:51:09] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
2019-06-05 [22:51:09] [Server thread/DEBUG]: #12 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 113.23.110.191 19758, raklib\protocol\EncapsulatedPacket object, integer 0)
2019-06-05 [22:51:09] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
2019-06-05 [22:51:09] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
2019-06-05 [22:51:09] [Server thread/DEBUG]: #15 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}()
2019-06-05 [22:51:09] [Server thread/DEBUG]: #16 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
2019-06-05 [22:51:09] [Server thread/DEBUG]: #17 src/pocketmine/Server(2339): pocketmine\snooze\SleeperHandler->sleepUntil(double 1559749870.0043)
2019-06-05 [22:51:09] [Server thread/DEBUG]: #18 src/pocketmine/Server(2196): pocketmine\Server->tickProcessor()
2019-06-05 [22:51:09] [Server thread/DEBUG]: #19 src/pocketmine/Server(1775): pocketmine\Server->start()
2019-06-05 [22:51:10] [Server thread/DEBUG]: #20 src/pocketmine/PocketMine(266): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string C:\Users\Administrator\Desktop\server mcpe, string C:\Users\Administrator\Desktop\server mcpe\plugins)
2019-06-05 [22:51:10] [Server thread/DEBUG]: #21 (1): require(string phar://C:/Users/Administrator/Desktop/server mcpe/PocketMine-MP.phar/src/pocketmine/PocketMine.php)�

sorry i dont know english

Cant add a warp

does this rely on another warp plugin? i cant seem to add a warp any way /warp add /addwarp nothing works/is a thing

all /warpui commands available to non-ops.

ezgif com-optimize (1)
eadsd

Here i have a gif and the picture of the rank and perms i was using, i was not op, i tried to prove it by doing /gamemode but again, i was not op, i had no permissions regarding the plugin and i could still use it and i could add and remove warps without any permissions.

WarpUI error

[22:32:50.535] [Server thread/CRITICAL]: TypeError: "pocketmine\entity\Location::__construct(): Argument #4 ($world) must be of type ?pocketmine\world\World, float given, called in phar:///home/minecraft/plugins/WarpUI_dev-30.phar/src/xenialdan/WarpUI/Loader.php on line 81" (EXCEPTION) in "pmsrc/src/entity/Location" at line 37

--- Stack trace ---

#0 plugins/WarpUI_dev-30.phar/src/xenialdan/WarpUI/Loader(81): pocketmine\entity\Location->__construct(double 543.8235, double 164, double -614.049, double 1.5829467773438, double 73.360641479492, object pocketmine\world\World#106132)`



	public static function getWarp(string $name): ?Location
	{
		$values = self::getInstance()->warps->get($name);
		if ($values === false) {
			return null;
		}
		try {
			self::getInstance()->getServer()->getWorldManager()->loadWorld($values['levelname'], true);
		} catch (WorldException $e) {
			self::getInstance()->getLogger()->logException($e);
		}
		return new Location($values['x'], $values['y'], $values['z'], $values['yaw'], $values['pitch'], self::getInstance()->getServer()->getWorldManager()->getWorldByName($values['levelname']));
	}

UI doesnt show

on /warpUI list to should show warps in UI but rather it shows in list!

image

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.