randy128gamer / bansystem-pocketmine Goto Github PK
View Code? Open in Web Editor NEWA ban system that allows to temporarily/permanently ban/mute/block and kick players/IP address.
A ban system that allows to temporarily/permanently ban/mute/block and kick players/IP address.
Hello There,
If i do:
/kick xLord_Ianitex Test
Then no reason appears in Chat with the BroadcastMessage or to the player for the Kick reason. I don't know why this is but its frustrating as if a staff member wants to kick a player for their 2nd warning then the player always joins back asking "why was i kicked" or "who kicked me" or "what did i do wrong" so I'm hoping there is a way to fix this.
Thanks
Please add a lang.yml :)
Example:
bans: {name} has been banned for {reason} by {staff}
So it could be like "Hacker has been banned for hacking by anti_hacker"
Can you add MySQL Support for Bansystem?
I know this is annoying to see, but I really need this plugin back soon!
I cannot TempBan hackers for a week anymore, know I have to remember every name and unban them!
Your plugin is very important please hurry with the API change! Thanks
_-Manx_
Kick message not woeking
here the crashdump:
Genisys Crash Dump Tue Sep 6 19:51:48 ADT 2016
Error: Object of class DateTime could not be converted to string
File: /src/pocketmine/permission/BanEntry
Line: 95
Type: E_RECOVERABLE_ERROR
Code:
[86] $str = "";
[87] $str .= $this->getName();
[88] $str .= "|";
[89] $str .= $this->getCreated()->format(self::$format);
[90] $str .= "|";
[91] $str .= $this->getSource();
[92] $str .= "|";
[93] $str .= $this->getExpires() === null ? "Forever" : $this->getExpires()->format(self::$format);
[94] $str .= "|";
[95] $str .= $this->getReason();
[96]
[97] return $str;
[98] }
[99]
[100] /**
[101] * @param string $str
[102] *
[103] * @return BanEntry
[104] */
[105] public static function fromString($str){
Backtrace:
#0 (): pocketmine\Server->crashDump(boolean)
Genisys version: 8e139ea9b09a4efc4e5d583797adc2b1a976be92 [Protocol 82; API 2.0.0]
uname -a: Windows NT BRINELA 10.0 build 14393 (Windows 10) i586
PHP version: 7.0.1
Zend version: 3.0.0
OS : WINNT, win
Server uptime: 9 minutes 47 seconds
Number of loaded worlds: 1
Players online: 2/20
Please add MySQL support and Custom Ban Messages!
Sofware: Tesseract
Version: 1.0.4.1
Error: Object of class DateTime could not be converted to string
File: /src/pocketmine/permission/BanEntry
Line: 95
Type: E_RECOVERABLE_ERROR
Code:
[86] $str = "";
[87] $str .= $this->getName();
[88] $str .= "|";
[89] $str .= $this->getCreated()->format(self::$format);
[90] $str .= "|";
[91] $str .= $this->getSource();
[92] $str .= "|";
[93] $str .= $this->getExpires() === null ? "Forever" : $this->getExpires()->format(self::$format);
[94] $str .= "|";
[95] $str .= $this->getReason();
[96]
[97] return $str;
[98] }
[99]
[100] /**
[101] * @param string $str
[102] *
[103] * @return BanEntry
[104] */
[105] public static function fromString($str){
How to fix?
Could you add a Report function which is compatible with PurePerms-Ranks so that Supporters and higher can see who sent a report ?:)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.