Skip to content

Releases: PrimeGamesDevTeam/Primer

Version 3.1.0

13 Nov 00:09

Choose a tag to compare

Version 3.0.0

12 Oct 00:45
eb09d64

Choose a tag to compare

Version 2.2 for PM3

26 Sep 07:35

Choose a tag to compare

This is the latest and last stable version supporting pm3

Version 2.1.0

17 May 16:10
1b09d32

Choose a tag to compare

what's new:

1. Trades Component:

- Private Trades: Player Can send Trade request to a online player privatly
- Public Trades: Player can send trade request to all online players

2. MiningLoot Component:

- Added mining loot component for drop items which can be found while breaking|mining block.
- MiningLootTable must be exteneded while creating loot table of miningcomponent.
- Levels and Source block can also be passed to allow restricted loot dorps
- Added MiningLootFindEvent which is called when a player succesfully finds an loot item.
use PrimeGames\Core;
use PrimeGames\component\MiningLoot\MineLootComponent;
use PrimeGames\component\MiningLoot\MineLootTable;
class LootTable extends MineLootTable{
    protected function initLootTable() : void{
        // TODO: Implement initLootTable() method.
    }
}
Core::getInstance()->getComponentManager()->addComponent(new MineLootComponent(Core::getInstance(), new LootTable()));

3. Events:

- KitClaimEvent: called when a player successfully claims a Kit
- ItemStockBuyEvent: called when a player successfully buys an item stock
- ItemStockSellEven: called when a players item stock
- CrateOpenEvent: Called when a player succesfully opens a crate
- ClanJoinedEvent: Called when a player joins a clan
- RainItemFoundEvent: Called when a player picks up a rain item
- BalanceTransferEvent: Callled when a player trasnferes balance to another player

4. Quests:

- Added KitClaim Condition
- Added Player Kill condition where player will have to kill players for certain times
- Added Player Death Condition where player can die for certain for certain items(can be strict where players can not kill anyone during quest)
- Added Item buy condition where player will have to buy certain item in certain amount
- Added Item Sell condition where players will have to sell certain item in certain amount
- Added Item Smelt or cook condition where player can cook certain item in certain amounts
- Added Crate Condition where player can open certain crate for certain amount of times.
- Added VisitLocationCondition
- Added ClanJoinOrCreateCondition: Player has to join or create a clan
- Added SendBalanceCondition: Player has to send certain amount of another player
- Added ItemCraftCondition
- Added Find Item Condition from ItemRain
- Added MineLootCondition: Player have to find certain items from mining blocks
- Added EnchantItemCondition: Players have to enchant an item with certain enchant and level
- Added HaveEnchantsOnItemCondition: Players have to enchant an item certain amount of time.

- Added an option extraCondition(Prograssable $condition) method which can be used for providing extra prograssable conditions which is not implemented by core.

- removed world() from QuestBuilder, It can be directly used in quest condition instead.


Changes:

1. Player Teleports:

- Player teleport system rework which now has commands /tpa and /tpr
- /tpa can be used to check all recieved teleport requests
- /tpr <online player name> can be used to send teleport request to an online player
- all telelport requests has cooldown of 15 seconds after that they automatically get declined and
  player has to send a new teleport request.
- PlayerTeleportAcceptEvent has been added which is called when a player accepts
                    teleport request and can be cancelled to avoid teleportaion in certain areas.

2. ItemSellEvent changed to ItemStockSellEvent



Fixes:

- Fix crate loot view condition only when right clicked/long pressed on touch deivces
- Fixed chief rank bug
- Reworked clan member arrays to avoid nesting issues.

Version 2.0.2

16 May 09:12
fff42ef

Choose a tag to compare

Whats New?:

- command /stop is now avaialable to devs and super admins
- Added cps component
- Added the name of the item used to kill in death message

Bug Fixes:

- fix a situation where players quest could go negative while trying to place blocks in quests
- Registered ArrowSoundListener in order to add a 'ding' sound when an arrow hits an enemy
- /msga successful message is now only sent to the user.
- Gang invite accepted message has been fixed

Primer v1.2.8

30 Jun 22:55

Choose a tag to compare

1.2.8 (This version is everything from below)

Primer v1.2.5

12 Jun 04:27

Choose a tag to compare

ChatSelectorForm: Fix form not checking the permissions correctly

Primer v1.2.4

02 Jun 19:13

Choose a tag to compare

update player got key language to show pvpmine

Primer v1.2.2

29 May 19:44

Choose a tag to compare

CommandQueue: Do not pass an object as a string

Primer v1.2.1

29 May 03:42

Choose a tag to compare

Add /group del/remove command