Coder Social home page Coder Social logo

nopvp's Introduction

NoPVP

  • Simple plugin to disable the pvp in worlds

Commands

Command Description Aliases
/nopvp NoPVP Command /np

Features

  • You can change message from data.yml and you can disabled it just set to ""

Other

  • Donate

nopvp's People

Contributors

laith98dev avatar poggit-bot avatar

Stargazers

 avatar Sergiy Chernega avatar  avatar

Watchers

 avatar

nopvp's Issues

sorry if im being stupid

Error: Could not check compatibility between Laith98Dev\NoPVP\libs\jojoe77777\FormAPI\Form::handleResponse(pocketmine\Player $player, $data): void and pocketmine\form\Form::handleResponse(pocketmine\player\Player $player, $data): void, because class pocketmine\Player is not available
File: plugins/NoPVP.phar/src/Laith98Dev/NoPVP/libs/jojoe77777/FormAPI/Form
Line: 42
Type: E_COMPILE_ERROR

THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN: NoPVP

Code:
[33]
[34] public function getCallable() : ?callable {
[35] return $this->callable;
[36] }
[37]
[38] public function setCallable(?callable $callable) {
[39] $this->callable = $callable;
[40] }
[41]
[42] public function handleResponse(Player $player, $data) : void {
[43] $this->processData($data);
[44] $callable = $this->getCallable();
[45] if($callable !== null) {
[46] $callable($player, $data);
[47] }
[48] }
[49]
[50] public function processData(&$data) : void {
[51] }
[52]

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.