Skrallex submitted a new resource:
EasyTeams - Easily create teams for custom events.
Read more about this resource...

EasyTeams
Easily create teams for custom events.
Total Downloads: 633 - First Release: Jun 14, 2016 - Last Update: Oct 27, 2017
- 5/5, 11 likes
-
great. but no console commands?
-
Yeah please add console commands and also support for ServerRewards (probably even economy) so people can get something for playing minigames?
Still nice work -
Bad looking code, damn
-
Gave it a go and for the most part it was easy to use and worked well, but like most event plugins the teleport feature didn't work well. Players were not returned to their original location / lost items. Also, I tried to stop the event with "/teams_stop", but my players were not set home and the event continued.
-
So, decided to give this a go as this is exactly what I am looking for.
I havent tested it yet although I have a few questions.
On the items in your inventory before teleport. It says they are removed,saved and returned upon exiting the "event".
My question is, do the items gained during an event get removed or do they stay in the players inventory once the event is over. -
Follow up. Did my initial testing last night and these are the areas that are working...
Create Team (Working)
Create Members for Team (Working)
Auto Teleport Team to location at start of Event (Working)
Assigns Auto Kits per player on Team (Working)
Assigns Deaths per person OR per team (Working)
Auto Teleports person
or team to original location post event (Working)
Auto Spectate when team/person lives expire ( NOT Working )
Auto saves prior inventory via teleport to Event (Working)
Auto saves inventory post teleport after Event (NOT Working)
So as you can see majority is working flawlessly however..the spectate mode when applying prompted a pop stating I had not set a location for spectators. I am not sure exactly what that means or even how to do it.
The other issue is a critical one,at least for me and what I am using this for.
ie: I am using my server for a end game based scenario. With your plugin teams will arrive at a specific area and proceed on a timed based Raid run. They will have 6 lives and I need players to go into spectate upon expiring their lives.
However, loot will be randomly gathered throughout the "instance" and bosses will also spawn loot. How can the players keep that loot after they are ported out post event? Since the inventory reverts from being saved, is there a way to keep the loot they gained?
This is a critical area that will make or break usage.
To the OP Dev,is there anything that can be done?
Any help would be very much appreciated and would be willing to discuss financial gain for furthering this plugin -
hi guy, your plugin is compatible with other event like team deathmatch, gungame, chopper survival... ?
i can see in the last message by Rush, any problem with inventory for exemple, it's fixed ? ^^
thanks -
You can add the console commands and that the player himself may join?
-
Hi guys, apologies for the absence, I'm currently away on holiday for the week but have some planned changes and code refactoring to work on when I get home.
Im planning on adding in the console commands since there isn't really any reason not to have them implemented, and I will add in some other features Rush has suggested, including saving inventory during the event (which the plugin wasn't initially designed for), along with improvements to how players are added to the event and whether they can join it themselves etc.
If anyone has any further suggestions or ideas, send them through -
-
Okay, so since my server never gets many players on it, I can't properly test the new version of EasyTeams. If anyone could test it out and let me know what's broken or not working as intended, that would be great.
If you use /teams, it will tell you the new commands. As a quick run-down, they are:
- Save and load event settings (players on each team are not saved for obvious reasons) using /teams_save and /teams_load.
- Players can join in progress if you mark the event as joinable (command: /teams_joinable true/false), by using /teams_join. You can allow them to specify which team they would like to join by using the command /teams_joinspecific true/false, they can then type /teams_join TeamName. Also, you can mark individual teams as unjoinable (they are joinable by default, but the global event joinable setting must be enabled too for players to join) using /teams_joinable TeamName true/false. New permissions for the /teams_join command are easyteams.join and easyteams.joinspecific.
- Event inventories can be saved and given back to the player after the event as a reward. Any items included in the kit you give them at the start of the event will not be given back afterwards. You can mark the event to save the items using /teams_keepinv true/false. A players event items are only saved at the end of the event, and only what they have on them at the time. If they are moved to the spectator team, and thus have no extra items, they will get nothing. Currently looking into a way around this.
- Players can claim the event rewards/items gained using the command /teams_claim. Obviously there is also a permission for this (easyteams.claim). I'm planning to add a command to set the event reward as well instead of the gained items, but it's not yet in.
- Adding a player to the event (or having them use /teams_join given correct permissions and settings), they will be moved immediately to the event rather than having to stop the event and then start it again for them to be moved to the event.
- If players leave the server, they are removed from the event. Doesn't seem to be working 100% though, it might not return their inventory. Gotta investigate.
- Set rewards for events.
- Fix event inventory saving not working if player is moved to spectator team.
- Moving players to a different team after the event is started will wipe their saved inventory. Easy fix this one.
- Add a restart command, to restart the round.
- Automatically detect when game/round is over.
- Crashing/disconnecting players inventories not being returned even though they are removed from the event.
Thanks
EDIT: Oh and you will likely have to delete your old config files, so make a backup of them so you can revert back to the current version!Attached Files:
-
-
That's not very indicative of the issue though, is it? How am I supposed to help you like that?
-
i dont know i put it in my plugins in the server and it doesent work
and i try to restart and reload everything -
I really want to test this out..
I like the simple version more. I want to use it as a team death match event.
I will check back here tomorrow and test this out -
I will be testing this very soon as I had to open up a second server in order TO be able to test
Get back asap -
Okay, just so you all know, I'm definitely still working on this. Testing is the hardest part for me, as I don't have many people able to jump on and help me test it, which is why I'm turning to you guys. If anyone is interested, my server is called Rusty Spoons AU, I'm not on all the time, but when I am I'm usually testing the plugin.
Anyway, here's a new version I've been working on. Here's whats changed/added.
- Removed commands for setting lives, joinable, and keepInv.
- Most event and team settings are now specified through the data file (/data/EasyTeamsData.json). Makes it easier and removed a lot of commands that were frustrating to name, and frustrating to use. It's more involved to use the data file, I suppose, but it makes life a lot easier.
- Added new event and team settings, and repurposed others.
- Fixed a bug where the players would lose their saved inventory if they were moved to a different team mid-game.
- Fixed a bug where players couldn't leave the event if it hadn't been started yet.
- Improved the view command syntax to show new event and team settings.
- Added the /teams_reload command, which will reload the saved data file, so that you can edit it and then run this command rather than having to reload the whole plugin. Ie. save an event using /teams_save TestName, edit the data file and save it, reload it using /teams_reload, then load it using /teams_load TestName.
- allowPlayersJoin: whether players can join the game themselves (true) using /teams_join or if an admin/event coordinator has to add them manually (false). If true, they will be placed on a random, joinable team (if autoBalanceTeamsOnJoin is false) or the joinable team with the least players (if autoBalanceTeamsOnJoin is true).
- allowPlayersJoinSpecificTeams: whether players can join a specific team using /teams_join TeamName. Requires allowPlayersJoin to be true.
- joinInProgress: whether players can join a random joinable team once the event is started.
- joinSpecificTeamInProgress: whether players can join a specific team once the event has started.
- autoBalanceTeamsOnJoin: if true, players will be placed on the joinable team that has the least number of players.
- allowTeamSwitching: if true, players can use /teams_join again to join a different team.
- endWhenSingleTeamRemaining: not yet properly implemented.
- restartWhenSingleTeamRemaining: not yet properly implemented.
- keepEventInventoryAsReward: not yet properly implemented (should still function the same as it did before, but needs some bug fixing).
- allowRewardClaiming: not yet properly implemented.
- roundRestartTimer: not yet properly implemented.
- numberOfTopTeams: number of top teams to be given reward kits. ie. if set to 3, the top 3 teams can be given kits depending on their placing, etc. Not yet properly implemented.
- topTeamRewardKits: the name of the kits used as rewards, not yet properly implemented.
- maxPlayers: the maximum number of players that can be on that team before it is full. Admins/event coordinators can always exceed this by manually adding players to the team. -1 indicates no maximum, while 0 makes the team unjoinable by players.
- joinable: if true, the team can be joined by players using /teams_join (assuming the necessary event settings are also true).
- Auto event ending/restarting.
- Event rewards/inventory.
- Event restarting.
- Console commands.
Attached Files:
-
How do I fix this error? The left-hand side of an assignment must be a variable, a property or an indexer
-