5481 Commits

Author SHA1 Message Date
UnknownShadow200
0ec32e0660 Don't reload files from disc when doing blockset/cmdset 2020-09-06 17:41:26 +10:00
UnknownShadow200
1984c223c4 Fix /search blocks not including classic/CPE blocks in search list 2020-09-05 00:04:24 +10:00
UnknownShadow200
04589ff6b1 Improve /blocks to also include custom blocks 2020-09-04 23:57:14 +10:00
UnknownShadow200
9a81d0e75a Fix /inv [player] showing message twice 2020-09-04 21:35:20 +10:00
UnknownShadow200
1f0f163228 Fixed /follow not showing player name with 'stopped following' message, fixed /gen not showing completion message when used from map with level-only chat 2020-09-04 21:20:05 +10:00
UnknownShadow200
f3e586875a fix a few places where I missed nick formatting 2020-09-04 19:01:24 +10:00
UnknownShadow200
35422d6410 Make many more commands such as /who,/clients,/ping take into account whether player is ignoring nicks when displaying names 2020-09-04 18:38:04 +10:00
UnknownShadow200
40cc05d49d add p.FormatNick method which takes into account whether player ignores custom nicknames 2020-09-04 17:57:23 +10:00
UnknownShadow200
ae9a20e2fb minor code cleanup 2020-09-04 17:06:08 +10:00
UnknownShadow200
de9f8a4814 Add a confirmation warning popup if the user tries to disable name verification 2020-09-03 20:04:26 +10:00
UnknownShadow200
78203df5db Fix main level generated when main level doesn't exist (i.e. first time you start the server) not saving changes to /b (Thanks cybertoon) 2020-08-24 10:30:04 +10:00
UnknownShadow200
bcfb03aa71
Merge pull request #546 from SpiralP/more-cm-anims
add new CustomModel animation types
2020-08-20 11:37:18 +10:00
SpiralP
0e7538f85e add new CustomModel animation types
SinSize, SinSizeVelocity, FlipRotate, FlipRotateVelocity, FlipTranslate, FlipTranslateVelocity, FlipSize, FlipSizeVelocity
2020-08-19 18:03:42 -07:00
UnknownShadow200
a0e201e000 Don't pointlessly allocate a byte array equal to size of map when importing cw/mclevel maps
Didn't really matter all that much though since the memory would get freed pretty quickly by the garbage collector anyways
2020-08-18 01:07:16 +10:00
UnknownShadow200
785621b292 forgot to make 1 line printer method public, oops 2020-08-16 23:20:37 +10:00
UnknownShadow200
952ba94c5b Make the various Line printer methods in OnlineStat/OfflineStat public so plugins can use (and abuse) them 2020-08-16 23:02:54 +10:00
UnknownShadow200
687dd02aa0 Fix command line input not working in CLI version when running through mono on wine (Thanks arydev) 2020-08-14 00:20:56 +10:00
UnknownShadow200
0df12fb40c Fix .cw maps with dimensions between 32768-65535 not importing 2020-08-13 21:51:18 +10:00
UnknownShadow200
5f5614bd0d in updater, try to start process with 'mono' prefix first
Fixes updater not being able to start mcgalaxy again after updating when running under wine
2020-08-12 22:10:34 +10:00
UnknownShadow200
675dce9b94 Fix updating not working when running mono through wine (Thanks arydev) 2020-08-12 21:16:06 +10:00
UnknownShadow200
17b5aeb883 fix being able to see hidden players in /alive and /infected in ZS (thanks fam0r) 2020-08-10 23:54:42 +10:00
UnknownShadow200
3efe82b29f Remove throw ArgumentNullExceptions in fCraft map gen 2020-08-08 13:45:12 +10:00
UnknownShadow200
2753f9aa85 Move incrementing player's total messages into Chat class to make the behaviour of Chat.MessageChat more obvious 2020-08-07 11:42:49 +10:00
UnknownShadow200
856d59bb3e Remove chatrooms, they were used very rarely anymore, and team chat/map only chat provides similar functionality anyways 2020-08-06 23:11:24 +10:00
UnknownShadow200
3165057336 Make PlayerData.Apply -> public ApplyTo 2020-08-06 12:22:01 +10:00
UnknownShadow200
3e8764d141 Add OnGettingCanSee event too 2020-08-01 22:45:33 +10:00
UnknownShadow200
3be4601ee5 Add event for when getting whether a player can see an entity 2020-08-01 21:41:24 +10:00
UnknownShadow200
ea115da1f8 Use CanSee instead of CanSeeEntity for tab list, that way you don't disappear from tab list in ref mode or when going invisible in ZS 2020-08-01 19:02:58 +10:00
UnknownShadow200
662f907a6b Entities.CanSee -> p.CanSee 2020-08-01 18:55:34 +10:00
UnknownShadow200
35f4a6d29a Fix being able to use /team to spam (X was muted) messages 2020-07-28 08:59:16 +10:00
UnknownShadow200
3dd0d22f18 Make Y in /write 3 blocks wide instead of 5 (Thanks Arvid) 2020-07-25 23:22:02 +10:00
123DMWM
757e007a77 Update /ping all
Shorten the wording to fit it all on one line.
2020-07-24 11:08:07 +10:00
123DMWM
1c363c77fb Update /ping all format
Makes it a bit more human readable.
2020-07-24 11:08:07 +10:00
UnknownShadow200
816d52b6ad Release 1.9.2.4 2020-07-24 09:30:05 +10:00
UnknownShadow200
94e97a12d1 Also log LoaderExceptions for ReflectionTypeLoadException exceptions 2020-07-14 13:49:20 +10:00
UnknownShadow200
abe43b75e1 Fix if you do portal/mb show on map without any portals/mbs, an entry gets added to error logs about missing SQL table 2020-07-12 14:27:31 +10:00
UnknownShadow200
afd011f768 Release 1.9.2.3 1.9.2.3 2020-07-11 10:32:01 +10:00
SpiralP
7bb7119d33
Custom Models v2 (#541)
* Custom Models v2
allows for more modifiers and more animations per part

* anims now use a specified axis

* remove default value for a,b,c,d
2020-07-07 18:53:08 +10:00
UnknownShadow200
824db6fa0b Make p.Extensions public (mainly for plugins to add their own) 2020-07-05 22:12:58 +10:00
UnknownShadow200
b168063f08 Add OnSendingModelEvent event, fix changing /model during ZS changing model to other players 2020-06-28 22:41:07 +10:00
UnknownShadow200
250a435db3 Entites.UpdateModel -> entity.UpdateModel 2020-06-28 22:01:59 +10:00
SpiralP
15122aaebe
Custom Models (#537)
* wip custom models

* nameY and bounds stuff

* bobbing, pushes, usesHumanSkin

* parsing of json from blockbench

* heady

* body parts

* fix reference comment

* check part max limit

* update newtonsoft.json

* example of storing custommodel

* loading bbmodel and ccmodel files

* handle visibility toggle, warn for untextured/autouv cubes

* don't use template strings
old people ruling the world

* add hideFirstPersonArm, uScale, vScale

* pull u/vScale from bbmodel

* write raw floats

* maybe fix inflate, remove autouv notice
autouv isn't used for box style

* mirroring support

* rename ext to CustomModels, add RemoveModel packet type

* fix mirroring

* use scary unsafe unk's WriteF32

* send a ChangeModel packet after DefineModel for each entity with the defined model

* some chat command work

* store pixel sizes in ccmodel

* better StoredCustomModel impls

* fixes

* case-insensitive dicts

* spin anim, animModifier new packet field

* spin in blockbench name with anim modifier

* add OnBeforeChangeModelEvent, send custom models only if needed, and remove them when no longer needed

* tell other people to remove your model if you leave their map

* add update all models logic

* fix

* implement upload, use caseless everywhere

* add extra reserved bytes to packet

* undo custom self changes

* make Packet.MaxCustomModelParts public

* remove AABBF32

* split parts into own packet, send all uv coords instead of boxdesc

* undo self changes

* fix indents

* update to use firstPersonArm on CustomModelPart

* OOP

* undo specific plugin changes

* remove BoxDesc

* move CustomModel classes to own file

Co-authored-by: Goodlyay <zackxv7@yahoo.com>
2020-06-25 11:06:18 +10:00
UnknownShadow200
21f8ed4cef
Merge pull request #539 from SpiralP/master
let map change messages show in Local Chat maps
2020-06-25 10:51:16 +10:00
SpiralP
b1b44b4bf4 let map change messages show in Local Chat maps
and only show if joining/leaving the specific local-chat map
2020-06-24 17:50:01 -07:00
UnknownShadow200
6508dc3fca Simplify OnBuyCommand for economy items 2020-06-23 21:48:09 +10:00
UnknownShadow200
02663729ae Make items purchasing code more consistent 2020-06-23 21:35:28 +10:00
UnknownShadow200
52253a7b26 Make /eat an economy item, so price can be configured 2020-06-23 12:10:40 +10:00
Goodlyay
c7b557a0a0 Remove comma from "/whois" skin field
Allows you to click the link if it's a skin and work properly
2020-06-21 23:22:32 -07:00
UnknownShadow200
a5c9eb45e1 Obsolete PlayerExtList.Add/AddOrReplace 2020-06-21 13:51:48 +10:00
UnknownShadow200
fb4745e8fc Obsolete PlayerList.AddUnique 2020-06-21 13:30:19 +10:00