Commit Graph

558 Commits

Author SHA1 Message Date
taoneill
14d4efea9d Cake thief can now come back to spawn.
New can't-re-enter-spawn bump was preventing them from scoring. Oops!
2012-06-21 19:59:30 -04:00
taoneill
53aa9cda52 Nicer messages with words unbroken at end-of-line
Closes gh-493. Looks much better. Just had to drop an old ChatFixUtil
from the olden days before Bukkit at all that fancy end-of-word line
breaks built in. Should have done this much earlier. Thanks for
reminding me to remove this @cmastudios.
2012-06-21 19:51:14 -04:00
taoneill
c6e98769e5 Let flag carrier into the spawn when we should
Broke this two commits ago.
2012-06-20 23:58:47 -04:00
taoneill
4835d0f37d Startup warning when War files take over 100MB
Temp files tend to accumulate rapidly if some zonemakers are
particularly trigger happy with /savezone. Added a warning. Should
probably add a real limit on number of oldversions that can be saved.
2012-06-20 22:56:08 -04:00
taoneill
7a90119c97 Spawn protection is back. Can't re-enter spawn.
- Players are now technically invincible while in spawn. Closes gh-492.
- More air cleared around warhub tp and moved the warhub sign by one
block.
2012-06-20 21:32:44 -04:00
taoneill
b504b5b014 New playerloadoutasdefault:true/false setting
Closes gh-491. Players can now safely bring their own inventories in the
warzone. They still get it back after leaving, but now thei own items
can be used to replace the default loadout. You *need* to have a loadout
named "default" available in your warzone.
2012-06-19 23:00:37 -04:00
taoneill
520bac05da Less complicated file numbering system
Closes gh-486. There will still be duplicate numbers when old versions
are deleted, as the version only takes into account the number of old
versions in the /temp/oldversion/warzone-x/ folder.
2012-06-19 00:37:18 -04:00
taoneill
0557d94911 Logging code back in 2012-06-19 00:19:02 -04:00
taoneill
a1634b8b94 Merge pull request #483 from cmastudios/patch-2
POM update. Couldn't compile with old one (spout changed their repo addr...
2012-06-18 21:17:56 -07:00
taoneill
2dc7d4aa75 Test build without custom War logger
For @shankomaster who is having trouble with crashes with the newest War
builds. This build removes the new War-specific file logger.
2012-06-18 23:42:14 -04:00
taoneill
60e4eafc13 Customizable warzone structure materials
Change flag, monument, bomb, cake and spawn look by typing "/zonecfg
material:<main/stand/light>" while holding the block of your choosing.
Complements the lobbymaterial and warhubmaterial settings.

Brought back synchronization.
2012-06-18 23:36:06 -04:00
Connor
623af5d16a POM update. Couldn't compile with old one (spout changed their repo address) 2012-06-18 18:36:16 -05:00
taoneill
9f657c4a59 Test build with no game-end synchronization
For @shankomaster. This has the newer features but no endgame lock
around player deaths and flag/cake/bomb thief movements.

I'm not sure I really want to remove this, since a lock shouldn't cost
much usually and I thought through the threadsafe logic so it would work
properly.
2012-06-18 19:24:01 -04:00
taoneill
6c33314288 Warhub and lobby materials settable by commands
First, make sure you have a block (or air) in you hand.  Then use
/warcfg warhubmaterial:<floor/outline/gate/light> or /zonecfg
lobbymaterial:<floor/outline/gate/light>.

This is from a previous commit but: when you have AIR in your hand and
you change the floor or the floor's outline, that tells War to leave the
user-build or natural original floor in place.

New and cool: setting down the warhub now only clears the blocks needed
for players to find the gates, letting you build a nice warhub that
won't get wiped. Lobbies now also clear only a small path for players
instead of the whole volume.
2012-06-18 13:30:02 -04:00
taoneill
e80bdc9e2a Updated link to Jenkins in readme. 2012-06-18 02:53:28 -03:00
taoneill
4dfead7ec8 Players can't be trapped in spawn anymore
Closes gh-472. The periphery of opponents' spawns can't be built on. In
other words, all teams have a "no other team can build right next to my
spawn" protection 1 block wide all around their spawn. This should let
people exit the spawn with their loadout select, then use their items to
dig themselves out of any now-harmless trap.
2012-06-18 01:28:49 -04:00
taoneill
c6b04faa55 Custom lobby materials + hub and lobby outline
Closes gh-63. Warhub and lobby materials can be customized. Warzones
take warhub materials as default. Customizable materials: floor, outline
(of floor - NEW), gate, light. Only changeable through the war.yml or
warzone-x.yml file.
2012-06-18 01:07:06 -04:00
taoneill
4bebb2d50e Customizable warhub floor/gate/light materials
Just changeable through the war.yml file for now, since it's a pretty
advanced option. Still missing warzone lobby materials.
2012-06-17 23:59:01 -04:00
taoneill
4867b8cf03 New readme file
Added a proper license file as well, about time.
2012-06-17 22:36:53 -04:00
taoneill
68b5ca755b Fixes in zone and team-specific loadout creation
Closes gh-480. When you add a new loadout to a warzone, you now inherit
the default loadouts automatically - they are copied from War's default
inventories. Similarly, when you add a new loadout to a team, the
warzone's (or War's default) loadouts are copied and the new loadout is
added to that collection. This was the intended behavior.
2012-06-17 19:05:20 -04:00
taoneill
b7ae19a439 Make sure War log file gets created. 2012-06-17 01:53:12 -04:00
taoneill
a258bd8995 Big changes. /renamezone fix, zone backups, logs.
Closes gh-444. Fixed hopelessly broken /renamezone command. Now making
backup copy of renamed and deleted warzone to temp folder. Also,
/savezone now makes backups of old versions before saving if the
keepoldzoneversion:true setting. No more will you have to suffer the
pain of a mistakenly overwritten warzone. Hurray! New standalone War
logger and log file in same temp folder. More logging added to every
command to make tracking down history easier.
2012-06-17 01:26:00 -04:00
cmastudios
380025f147 Closes #452. Enchantments are re-added to the item. 2012-06-16 16:16:14 -04:00
taoneill
1d6fdbe126 Inventory reset bug fix. Closes gh-436.
Closes gh-407. Closes gh-323. Inventory reset bug was due to the
combination of the respawn timer and a badly coded loadout-equip timed
job. The end-of-game events are now synchronized to prevent simultaneous
game-end and one game from bleeding into the other.
2012-06-16 15:53:06 -04:00
taoneill
894791215c Spawn protection now only when using respawntimer
Closes gh-469. CTF stalemates cause by buggy spawn protection are gone.
Woohoo!
2012-06-03 23:04:05 -04:00
taoneill
af9d4db788 Synchronous game end inventory resets
Still trying to fix the inventory reset bug. :( Trying out Github for
Windows. :)
2012-05-29 23:18:03 -04:00
taoneill
7f36e6991f Attempt at fixing missing warzones bug. Seems that the Bukkit Yml writer finally properly lowercases each yml node around 1.2.3, which broke the warzone yml mapping since warzone names (which can be any case) are used as yml nodes. 2012-04-24 22:18:59 -04:00
taoneill
ae190ed315 Zonemakers can't circumvent commandwhitelist anymore. Only war.admin perms lets you do that. Version v1.7.2-PREVEW. 2012-04-09 23:15:04 -04:00
taoneill
33117b9db0 War v1.7.1 release. Compatible with Craftbukkit 1.1-R6, 1.2.3, 1.2.4 and 1.2.5. 2012-04-07 01:05:38 -04:00
taoneill
1d47f79eca Hitting the bomb carrier could still make him explode blocks while unbreakable:true. From now on unbreakable:true means bomb carrier really can't make any damage. 2012-04-06 22:32:31 -04:00
taoneill
305b2454c7 Closes gh-406. The inventory reset fix seems to not have broken anything important - good. Fixed lobby disappearing with new /teamcfg and /zonecfg that dont reset the zone anymore. 2012-04-06 22:19:44 -04:00
taoneill
2c773710ba First attempt at fixing no-inv-reset/over-maxscore bug. When a battle or the game ends, extra simultaneous deaths or scorers shouldn't cause duplicate warzone resets anymore. Knock on wood, i.e. needs testing. Also, added RESETONCONFIGCHANGED setting that is false by default - i.e. /zonecfg and /teamcfg won't cause a zone reset automatically anymore. 2012-04-06 21:35:30 -04:00
taoneill
6b29226004 Reverting back to old bukkit dependencies in pom. 2012-04-01 12:45:48 -04:00
taoneill
d0c1878c30 Reverting back to old mockito dependency in pom. 2012-04-01 12:42:08 -04:00
taoneill
2afc40fb00 Closes gh-426. Closes gh-341. Bomb carrier doesn't blow up if warzone is unbreakable:true. Helmets can now be part of loadout if blockheads:false. When realdeaths:true, players don't get -Use /leave to exit- message spam when dying anymore. 2012-04-01 12:38:07 -04:00
taoneill
bdae9df6b7 Updated pom.xml dependencies to 1.2.4-R1.0. 2012-04-01 11:11:02 -04:00
taoneill
59b9b3078c Merge branch 'master' of github.com:taoneill/war 2012-04-01 10:57:21 -04:00
taoneill
eea3af9c1c Closes gh-425. Block head restoration job shouldn't break anymore. Updated plugin.yml to reflect v1.7.1-PREVIEW version - sorry about confusion. 2012-04-01 10:56:51 -04:00
taoneill
5d9b654240 Merge pull request #424 from ryansch/on-player-interact-fix
Fixed a missing RIGHT_CLICK_AIR action.
2012-04-01 07:09:58 -07:00
Ryan Schlesinger
37f68d4716 Fixed a missing RIGHT_CLICK_AIR action. 2012-03-25 15:45:21 -07:00
taoneill
fc03a0cf74 Closes gh-417. Potion effects are cleared properly again at warzone exit and at death - that part of the bukkit API is broken in 1.2.3-R0.1 and R0.2, at least. 2012-03-21 23:43:21 -04:00
taoneill
f8e771c9e0 Compatibility fixes for 1.1-R6. War doesn't use any Craftbukkit or net.minecraft classes anymore. Removed getLogger override which was breaking Bukkit's calls to the plugin's logger accessor - weird. 2012-03-03 13:21:41 -05:00
taoneill
61d691c1dd Updated pom.xml to 1.1-R3. This is the War v1.7 release. 2012-02-01 21:54:56 -05:00
taoneill
d7a6bf9e53 Little renaming of the Spout ui classes. 2012-01-29 21:31:54 -05:00
taoneill
9ea65c051f Changed version to War v1.7. 2012-01-29 12:15:14 -05:00
taoneill
a4d8075ad1 Much less glitchy lobbies: proper handling of team adding, deleting and of autoassign mode switching. Win. 2012-01-29 11:58:08 -05:00
taoneill
ea454e3027 Fixed War Spout feed and stats text not scaling with Spout settings (Small, Normal, Large, Auto). Much better now. 2012-01-29 11:28:31 -05:00
taoneill
4b69b14e10 Made potion effects less frequent when stealing flag or cake, because they got on my nerves. Wish I could disable the sound for an effect from the server. 2012-01-28 12:27:33 -05:00
taoneill
a9c09c3f16 Closes gh-367. Using flint and steel on enemy spawn doesn't give you a fire block anymore. :) 2012-01-27 20:34:37 -05:00
taoneill
a4a3ced0e5 Closes gh-348. Levels and exp are stored at warzone entry and restored at exit, like the rest of the player's state. 2012-01-26 23:18:49 -05:00