Skip to content

Commit

Permalink
v2.13
Browse files Browse the repository at this point in the history
  • Loading branch information
Flavius12 committed Jan 27, 2016
1 parent d6b919c commit 9039642
Show file tree
Hide file tree
Showing 16 changed files with 18 additions and 27 deletions.
2 changes: 1 addition & 1 deletion ServerAuth/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: ServerAuth
main: ServerAuth\ServerAuth
version: "2.12"
version: "2.13"
api: [1.11.0]
load: STARTUP
author: EvolSoft
Expand Down
2 changes: 1 addition & 1 deletion ServerAuth/src/ServerAuth/Commands/ChangePassword.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/*
* ServerAuth (v2.12) by EvolSoft
* ServerAuth (v2.13) by EvolSoft
* Developer: EvolSoft (Flavius12)
* Website: http://www.evolsoft.tk
* Date: 17/01/2016 01:10 PM (UTC)
Expand Down
2 changes: 1 addition & 1 deletion ServerAuth/src/ServerAuth/Commands/Commands.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/*
* ServerAuth (v2.12) by EvolSoft
* ServerAuth (v2.13) by EvolSoft
* Developer: EvolSoft (Flavius12)
* Website: http://www.evolsoft.tk
* Date: 12/01/2016 07:37 PM (UTC)
Expand Down
2 changes: 1 addition & 1 deletion ServerAuth/src/ServerAuth/Commands/Login.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/*
* ServerAuth (v2.12) by EvolSoft
* ServerAuth (v2.13) by EvolSoft
* Developer: EvolSoft (Flavius12)
* Website: http://www.evolsoft.tk
* Date: 15/01/2016 06:41 PM (UTC)
Expand Down
2 changes: 1 addition & 1 deletion ServerAuth/src/ServerAuth/Commands/Logout.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/*
* ServerAuth (v2.12) by EvolSoft
* ServerAuth (v2.13) by EvolSoft
* Developer: EvolSoft (Flavius12)
* Website: http://www.evolsoft.tk
* Date: 15/01/2016 06:58 PM (UTC)
Expand Down
2 changes: 1 addition & 1 deletion ServerAuth/src/ServerAuth/Commands/Register.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/*
* ServerAuth (v2.12) by EvolSoft
* ServerAuth (v2.13) by EvolSoft
* Developer: EvolSoft (Flavius12)
* Website: http://www.evolsoft.tk
* Date: 17/01/2016 07:02 PM (UTC)
Expand Down
2 changes: 1 addition & 1 deletion ServerAuth/src/ServerAuth/Commands/Unregister.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/*
* ServerAuth (v2.12) by EvolSoft
* ServerAuth (v2.13) by EvolSoft
* Developer: EvolSoft (Flavius12)
* Website: http://www.evolsoft.tk
* Date: 16/01/2016 08:13 PM (UTC)
Expand Down
13 changes: 2 additions & 11 deletions ServerAuth/src/ServerAuth/EventListener.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

/*
* ServerAuth (v2.12) by EvolSoft
* ServerAuth (v2.13) by EvolSoft
* Developer: EvolSoft (Flavius12)
* Website: http://www.evolsoft.tk
* Date: 16/01/2016 04:30 PM (UTC)
* Date: 27/01/2016 02:20 AM (UTC)
* Copyright & License: (C) 2015-2016 EvolSoft
* Licensed under MIT (https://github.com/EvolSoft/ServerAuth/blob/master/LICENSE)
*/
Expand All @@ -16,7 +16,6 @@
use pocketmine\event\Listener;
use pocketmine\event\entity\EntityDamageEvent;
use pocketmine\event\entity\EntityDamageByEntityEvent;
use pocketmine\event\inventory\CraftItemEvent;
use pocketmine\event\player\PlayerAchievementAwardedEvent;
use pocketmine\event\player\PlayerChatEvent;
use pocketmine\event\player\PlayerCommandPreprocessEvent;
Expand Down Expand Up @@ -162,14 +161,6 @@ public function onEntityDamage(EntityDamageEvent $event){
//Other Events
public function onCraftItem(CraftItemEvent $event){
if($this->plugin->getConfig()->getAll()["block-all-events"]){
if(!ServerAuth::getAPI()->isPlayerAuthenticated($event->getPlayer())){
$event->setCancelled(true);
}
}
}

public function onDropItem(PlayerDropItemEvent $event){
if($this->plugin->getConfig()->getAll()["block-all-events"]){
if(!ServerAuth::getAPI()->isPlayerAuthenticated($event->getPlayer())){
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/*
* ServerAuth (v2.12) by EvolSoft
* ServerAuth (v2.13) by EvolSoft
* Developer: EvolSoft (Flavius12)
* Website: http://www.evolsoft.tk
* Date: 10/05/2015 02:17 PM (UTC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/*
* ServerAuth (v2.12) by EvolSoft
* ServerAuth (v2.13) by EvolSoft
* Developer: EvolSoft (Flavius12)
* Website: http://www.evolsoft.tk
* Date: 10/05/2015 02:19 PM (UTC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/*
* ServerAuth (v2.12) by EvolSoft
* ServerAuth (v2.13) by EvolSoft
* Developer: EvolSoft (Flavius12)
* Website: http://www.evolsoft.tk
* Date: 10/05/2015 02:22 PM (UTC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/*
* ServerAuth (v2.12) by EvolSoft
* ServerAuth (v2.13) by EvolSoft
* Developer: EvolSoft (Flavius12)
* Website: http://www.evolsoft.tk
* Date: 16/01/2016 01:57 PM (UTC)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/*
* ServerAuth (v2.12) by EvolSoft
* ServerAuth (v2.13) by EvolSoft
* Developer: EvolSoft (Flavius12)
* Website: http://www.evolsoft.tk
* Date: 17/01/2016 09:20 PM (UTC)
Expand Down
4 changes: 2 additions & 2 deletions ServerAuth/src/ServerAuth/ServerAuth.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/*
* ServerAuth (v2.12) by EvolSoft
* ServerAuth (v2.13) by EvolSoft
* Developer: EvolSoft (Flavius12)
* Website: http://www.evolsoft.tk
* Date: 07/01/2016 07:43 PM (UTC)
Expand All @@ -28,7 +28,7 @@ class ServerAuth extends PluginBase {
const PRODUCER = "EvolSoft";

/** @var string VERSION Plugin version */
const VERSION = "2.12";
const VERSION = "2.13";

/** @var string MAIN_WEBSITE Plugin producer website */
const MAIN_WEBSITE = "http://www.evolsoft.tk";
Expand Down
2 changes: 1 addition & 1 deletion ServerAuth/src/ServerAuth/Tasks/MessageTask.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/*
* ServerAuth (v2.12) by EvolSoft
* ServerAuth (v2.13) by EvolSoft
* Developer: EvolSoft (Flavius12)
* Website: http://www.evolsoft.tk
* Date: 17/01/2016 11:23 PM (UTC)
Expand Down
2 changes: 1 addition & 1 deletion ServerAuth/src/ServerAuth/Tasks/MySQLTask.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/*
* ServerAuth (v2.12) by EvolSoft
* ServerAuth (v2.13) by EvolSoft
* Developer: EvolSoft (Flavius12)
* Website: http://www.evolsoft.tk
* Date: 14/05/2015 05:19 PM (UTC)
Expand Down

0 comments on commit 9039642

Please sign in to comment.