4251 Commits

Author SHA1 Message Date
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
UnknownShadow200
aac7b7c99b Add /lb alias for /line (For fCraft compatibility), remove '/bs' shortcut for /blockspeed (as if anyone even used it) 2020-06-18 22:23:21 +10:00
UnknownShadow200
3fbb77c470 Remove /devs and add mcgalaxy webpage into /sinfo 2020-06-18 22:13:24 +10:00
UnknownShadow200
0a6ef6d772 Parse shortimespan instead of integer seconds in /shutdown (Thanks 123DMWM) 2020-06-18 00:11:00 +10:00
UnknownShadow200
c03528ff5d Fix it to not error so much 2020-06-16 23:58:48 +10:00
UnknownShadow200
cb26d3c9e2 Add incredibly hacky and broken secure websocket code behind SECURE_WEBSOCKETS 2020-06-16 23:02:40 +10:00
UnknownShadow200
235eb3cdfd Add comments to BlockQueue 2020-06-15 22:18:42 +10:00
UnknownShadow200
0c30e2a2e0 Fix being unable to /os map add if there are already 'default realm map names' that exist, but you aren't actually the realm owner of them 2020-06-14 22:43:23 +10:00
UnknownShadow200
58cabbcee7 Release 1.9.2.2 1.9.2.2 2020-06-14 19:48:56 +10:00
UnknownShadow200
f0fa637529 Fix chat message packets using player entity ID instead of CPE message ID. Major whoops 2020-06-14 19:45:25 +10:00
UnknownShadow200
6b83f56b1e Plugin.Load should take path instead of name 2020-06-14 19:41:38 +10:00
UnknownShadow200
3aac7112c9 Server.VersionString --> Server.Version 2020-06-14 19:29:05 +10:00
UnknownShadow200
62786f36aa Allow chaning Server.SoftwareNameVersioned too
This is software name that appears in server list, and when you join with CPE enabled
2020-06-14 19:25:08 +10:00
UnknownShadow200
961cf05972 Release 1.9.2.1 2020-06-14 13:59:07 +10:00
UnknownShadow200
03b56bd1b3 Add a few more env presets (Thanks Goodly) 2020-06-14 13:47:56 +10:00
UnknownShadow200
5af87aae0f Cleanup EnvPreset code and split it out of CmdEnvironment 2020-06-13 20:44:36 +10:00
UnknownShadow200
d1ac0e9f07 Fix p.Message calls that expand to over 62 lines throwing an exception 2020-06-13 16:22:45 +10:00
UnknownShadow200
0a380c1731 ZoneMark should be allowed in museums 2020-06-11 20:05:45 +10:00
UnknownShadow200
cee0ef96b9 Add ClampPos method to Level class, instead of duplicating the logic in 3 places 2020-06-08 00:25:22 +10:00
UnknownShadow200
924a9d6f02 Fix fuse block not getting destroyed in nodestroy zones in TNT wars 2020-06-08 00:08:20 +10:00
UnknownShadow200
7558d94d3c Allow using relative coords for gb/lb min/max (Thanks 1Leiz) 2020-06-07 21:44:55 +10:00
UnknownShadow200
f447bcc626 Remove 'tnt wars' from most things 2020-06-07 20:37:49 +10:00
UnknownShadow200
65e4fa1db8 Fix /tw set zone delete and /tw set zone delete all having swapped behaviour 2020-06-07 18:18:16 +10:00
UnknownShadow200
724c9b1d1a Removed unused annotation field from dat importer, a little bit less memory usage 2020-06-07 10:50:15 +10:00
UnknownShadow200
523314e014 You should be able to use /bots in museum map still 2020-06-06 21:05:13 +10:00
UnknownShadow200
5a9b66b195 UpdateColor should call SetPrefix too 2020-06-06 19:30:52 +10:00
UnknownShadow200
bc91204fdf Fix colors sometimes being wrong in TNT wars
Could be wrong when TNT wars map is set to spawn map, player's colour is changed through /rank or /color, settings are saved in GUI, etc
2020-06-06 19:14:47 +10:00
UnknownShadow200
d7313bf840 Add OnSettingColorEvent, make changing p.color consistent
Fixes /pe [user] color not immediately appear in tablist/entity
2020-06-06 19:05:36 +10:00
UnknownShadow200
36af5f0495 Fix crashing if you try to select a rank in the gui that has over 255 /realm maps 2020-06-06 15:51:05 +10:00
UnknownShadow200
09653bb32a Fix hacks getting turned off in ref mode when you enter/exit any zone and you normally could not use hacks (thanks lordmaker) 2020-06-05 09:00:56 +10:00
UnknownShadow200
176cf4df0f Include dimensions of heightmap and level in warning message when they differ 2020-06-05 08:56:23 +10:00