Skip to content

Commit 9039642

Browse files
author
Flavius12
committed
v2.13
1 parent d6b919c commit 9039642

16 files changed

Lines changed: 18 additions & 27 deletions

ServerAuth/plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: ServerAuth
22
main: ServerAuth\ServerAuth
3-
version: "2.12"
3+
version: "2.13"
44
api: [1.11.0]
55
load: STARTUP
66
author: EvolSoft

ServerAuth/src/ServerAuth/Commands/ChangePassword.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/*
4-
* ServerAuth (v2.12) by EvolSoft
4+
* ServerAuth (v2.13) by EvolSoft
55
* Developer: EvolSoft (Flavius12)
66
* Website: http://www.evolsoft.tk
77
* Date: 17/01/2016 01:10 PM (UTC)

ServerAuth/src/ServerAuth/Commands/Commands.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/*
4-
* ServerAuth (v2.12) by EvolSoft
4+
* ServerAuth (v2.13) by EvolSoft
55
* Developer: EvolSoft (Flavius12)
66
* Website: http://www.evolsoft.tk
77
* Date: 12/01/2016 07:37 PM (UTC)

ServerAuth/src/ServerAuth/Commands/Login.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/*
4-
* ServerAuth (v2.12) by EvolSoft
4+
* ServerAuth (v2.13) by EvolSoft
55
* Developer: EvolSoft (Flavius12)
66
* Website: http://www.evolsoft.tk
77
* Date: 15/01/2016 06:41 PM (UTC)

ServerAuth/src/ServerAuth/Commands/Logout.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/*
4-
* ServerAuth (v2.12) by EvolSoft
4+
* ServerAuth (v2.13) by EvolSoft
55
* Developer: EvolSoft (Flavius12)
66
* Website: http://www.evolsoft.tk
77
* Date: 15/01/2016 06:58 PM (UTC)

ServerAuth/src/ServerAuth/Commands/Register.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/*
4-
* ServerAuth (v2.12) by EvolSoft
4+
* ServerAuth (v2.13) by EvolSoft
55
* Developer: EvolSoft (Flavius12)
66
* Website: http://www.evolsoft.tk
77
* Date: 17/01/2016 07:02 PM (UTC)

ServerAuth/src/ServerAuth/Commands/Unregister.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/*
4-
* ServerAuth (v2.12) by EvolSoft
4+
* ServerAuth (v2.13) by EvolSoft
55
* Developer: EvolSoft (Flavius12)
66
* Website: http://www.evolsoft.tk
77
* Date: 16/01/2016 08:13 PM (UTC)

ServerAuth/src/ServerAuth/EventListener.php

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
22

33
/*
4-
* ServerAuth (v2.12) by EvolSoft
4+
* ServerAuth (v2.13) by EvolSoft
55
* Developer: EvolSoft (Flavius12)
66
* Website: http://www.evolsoft.tk
7-
* Date: 16/01/2016 04:30 PM (UTC)
7+
* Date: 27/01/2016 02:20 AM (UTC)
88
* Copyright & License: (C) 2015-2016 EvolSoft
99
* Licensed under MIT (https://github.com/EvolSoft/ServerAuth/blob/master/LICENSE)
1010
*/
@@ -16,7 +16,6 @@
1616
use pocketmine\event\Listener;
1717
use pocketmine\event\entity\EntityDamageEvent;
1818
use pocketmine\event\entity\EntityDamageByEntityEvent;
19-
use pocketmine\event\inventory\CraftItemEvent;
2019
use pocketmine\event\player\PlayerAchievementAwardedEvent;
2120
use pocketmine\event\player\PlayerChatEvent;
2221
use pocketmine\event\player\PlayerCommandPreprocessEvent;
@@ -162,14 +161,6 @@ public function onEntityDamage(EntityDamageEvent $event){
162161
163162
//Other Events
164163
165-
public function onCraftItem(CraftItemEvent $event){
166-
if($this->plugin->getConfig()->getAll()["block-all-events"]){
167-
if(!ServerAuth::getAPI()->isPlayerAuthenticated($event->getPlayer())){
168-
$event->setCancelled(true);
169-
}
170-
}
171-
}
172-
173164
public function onDropItem(PlayerDropItemEvent $event){
174165
if($this->plugin->getConfig()->getAll()["block-all-events"]){
175166
if(!ServerAuth::getAPI()->isPlayerAuthenticated($event->getPlayer())){

ServerAuth/src/ServerAuth/Events/ServerAuthAuthenticateEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/*
4-
* ServerAuth (v2.12) by EvolSoft
4+
* ServerAuth (v2.13) by EvolSoft
55
* Developer: EvolSoft (Flavius12)
66
* Website: http://www.evolsoft.tk
77
* Date: 10/05/2015 02:17 PM (UTC)

ServerAuth/src/ServerAuth/Events/ServerAuthDeauthenticateEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/*
4-
* ServerAuth (v2.12) by EvolSoft
4+
* ServerAuth (v2.13) by EvolSoft
55
* Developer: EvolSoft (Flavius12)
66
* Website: http://www.evolsoft.tk
77
* Date: 10/05/2015 02:19 PM (UTC)

0 commit comments

Comments
 (0)