1
0
Commit Graph

940 Commits

Author SHA1 Message Date
joshi07
f71b1fe799 Added OnTeleportEntity hook for plugins.
Plugins may or may not allow teleport to the new position.
Updated the HookNotify plugin with it.
2015-03-05 11:52:42 +01:00
Mattes D
a22a81ef4b Debuggers plugin: Disabled WECUI manipulation. 2015-03-01 12:12:10 +01:00
STRWarrior
056b42cb94 Added documentation for CompressStringZLIB
There was no info about the factor.
2015-02-23 18:43:01 +01:00
STRWarrior
174f508021 Documented cStringCompression 2015-02-23 12:53:34 +01:00
STRWarrior
f073636805 Documented CompressString and UncompressString 2015-02-22 17:40:44 +01:00
Mattes D
c758482ece cNetwork: Added EnumLocalIPAddresses() function. 2015-02-22 10:51:16 +01:00
Mattes D
006b1afa9e Merge pull request #1758 from mc-server/CryptoHashAPI
Added cCryptoHash namespace to Lua API
2015-02-21 12:19:07 +01:00
Mattes D
b9e4fe0a3b Added cCryptoHash namespace to Lua API. 2015-02-21 09:41:14 +01:00
Mattes D
e39d2d4605 APIDump: Added the UDP zero port policy. 2015-02-20 16:14:44 +01:00
Mattes D
9c5162041e cNetwork: Added UDP API. 2015-02-20 14:28:05 +01:00
Mattes D
af1a5b36db InfoReg: Fixed MultiCommand return values. 2015-02-18 20:59:50 +01:00
Mattes D
d336a3ea9e Fixed TCP link shutdown.
The shutdown is postponed until there's no more outgoing data in the LibEvent buffers.
2015-02-14 13:55:54 +01:00
Mattes D
557adf3be9 Exported TLS server start on cTCPLink to Lua API. 2015-02-13 23:18:22 +01:00
Mattes D
b8bf795dd1 Exported cTCPLink:Close and :Shutdown() to Lua API. 2015-02-13 18:31:54 +01:00
Mattes D
16636ff6e2 LuaAPI: Added client TLS support for TCP links. 2015-02-12 20:05:55 +01:00
Mattes D
512b1a6b0e Merge pull request #1718 from mc-server/LuaNetworkAPI
Lua Network API
2015-02-07 17:46:16 +01:00
Mattes D
43b68975f7 APIDump: Added client and server examples. 2015-02-07 13:30:45 +01:00
Howaner
d36e8ffd77 Updated IsOnGround() documentation 2015-02-07 10:46:01 +01:00
Mattes D
adf0020cd4 APIDump: Added cNetwork documentation. 2015-02-06 18:44:05 +01:00
Mattes D
d1c9ce2a03 NetworkTest plugin: updated comments and splash loading. 2015-02-04 10:39:48 +01:00
Mattes D
014b96adb3 Exported cServerHandle and cNetwork:Listen to Lua.
Also added an example to the NetworkTest plugin.
2015-02-04 08:40:52 +01:00
Mattes D
17498a97a2 cNetwork: Exported lookup functions to Lua API.
Also added an example in the NetworkTest plugin.
2015-02-04 08:40:52 +01:00
Mattes D
04347084d6 NetworkTest plugin: Added cNetwork:Connect test code. 2015-02-04 08:40:51 +01:00
Matyas Dolak
42162b5193 Debuggers: Logging the os.clock for console-scheduled tasks.
This performs the test for #1717.
2015-01-27 13:28:01 +01:00
Mattes D
f59740b262 APIDump: Added details about client handle in OnServerPing hook. 2014-12-25 00:36:01 +01:00
Mattes D
5609d76ed7 APIDump: Updated the player block placement documentation.
The hooks now have fewer parameters but are called on all player-placed blocks (#1618).
2014-12-24 20:02:51 +01:00
Mattes D
aff32ba27b Updated Core. 2014-12-16 12:52:34 +01:00
Alexander Harkness
72b38c284f Merge pull request #1663 from mc-server/APIDumpSize
APIDump Width
2014-12-13 14:39:22 +00:00
STRWarrior
3fb10f064c Made comment in example code smaller
It caused the whole page to extend beyond the max width
2014-12-13 15:34:46 +01:00
STRWarrior
4f2931dd39 Reverted main_APIDump.lua changes 2014-12-13 15:33:51 +01:00
STRWarrior
f62a0e137e Fixed the width sometimes going over the div size 2014-12-13 12:59:23 +01:00
Mattes D
125c70ab63 Updated the Core. 2014-12-12 14:33:11 +01:00
Mattes D
6cd7e52eb7 Exported cWorld:PrepareChunk to Lua API, test in Debuggers. 2014-12-12 13:32:52 +01:00
Mattes D
1142879cc8 Debuggers: Added loadchunk and preparechunk commands.
preparechunk is not working yet because the required API is missing.
2014-12-11 21:21:58 +01:00
Mattes D
2a4ad3a475 Debuggers: Changed to use Info.lua file. 2014-12-11 21:21:57 +01:00
Jonathan Fabian
a1c6e89273 Fix duplicate commands added to README.md 2014-12-04 23:25:46 -05:00
Howaner
3bf9e978ae Updated core 2014-12-01 16:05:22 +01:00
Howaner
e74ad386f0 Reverted bad .gitignore change 2014-12-01 16:04:49 +01:00
Howaner
bcbd73f7d8 MobSpawner fixes. 2014-12-01 14:58:13 +01:00
Howaner
677dde51bd Merge branch 'master' into MobSpawner
Conflicts:
	MCServer/Plugins/APIDump/APIDesc.lua
2014-12-01 14:43:03 +01:00
Mattes D
36500f88b2 Merge pull request #1624 from mc-server/LuaDeprecating
Mark StringToMobType() as deprecated. Use cMonster:StringToMobType() instead
2014-12-01 09:50:34 +01:00
Howaner
6adf749164 Merge branch 'master' into MobSpawner 2014-11-30 19:38:52 +01:00
Howaner
615bca1567 Update core 2014-11-29 16:00:52 +01:00
Howaner
ea20ccaa96 Removed old MobType category. 2014-11-29 15:45:12 +01:00
Howaner
c673eb590f Mark StringToMobType() as deprecated. Use cMonster:StringToMobType() instead 2014-11-29 15:40:38 +01:00
Howaner
2478e290f9 Many api fixes, add vanilla names to mob type -> string functions and mob spawner fixes. 2014-11-29 15:20:44 +01:00
Mattes D
f0266c578e InfoReg: Added a diagnostic for bad Info.lua command info. 2014-11-22 13:31:58 +01:00
Mattes D
9ece37e8f1 Merge pull request #1598 from mc-server/SignEditor
Fixed a security problem with signs.
2014-11-18 08:52:48 +01:00
Mattes D
a63eb1ac6e Merge pull request #1577 from mc-server/ViewDistance
Added a MaxViewDistance option.
2014-11-16 15:13:39 +01:00
Howaner
277151582f Use LastPlacedSign instead of LastPlacedBlock. 2014-11-15 22:36:31 +01:00
Howaner
fe9750136c Updated APIDump 2014-11-15 15:27:41 +01:00
Howaner
8c3c11d6b3 Renamed GetSettedViewDistance() to GetRequestedViewDistance() 2014-11-15 14:27:50 +01:00
Howaner
7120b1a769 APIDump: Fixed example cCompositeChat URL 2014-11-14 22:56:55 +01:00
Howaner
66c4117856 Updated APIDump 2014-11-14 22:55:09 +01:00
Lukas Pioch
13b20d6fe2 renamed FindAndDoWithUUID to DoWithPlayerByUUID, fixed style and comments, added description to APIDump 2014-11-05 21:57:38 +01:00
Mattes D
2e8f2c5b3a APIDump: Added basic projectile documentation. 2014-10-25 21:27:27 +02:00
Mattes D
f6ddafabd6 Re-updated Core. 2014-10-23 22:50:42 +02:00
Howaner
72bb299a4a Merge branch 'master' into ChunkLoader
Conflicts:
	src/ChunkSender.cpp
	src/ClientHandle.cpp
	src/World.h
2014-10-23 14:59:42 +02:00
Alexander Harkness
782e466ca1 Upgraded core. 2014-10-22 15:27:01 +01:00
Mattes D
bfd1a9601a APIDump: Added docs for a few projectiles. 2014-10-22 16:06:31 +02:00
Mattes D
1cd45e770d Added inheritance information to Lua docs for projectiles. 2014-10-21 23:11:45 +02:00
Howaner
5d3b6c212f Reverted plugin remove 2014-10-21 18:30:59 +02:00
Howaner
690e89001e Fixed submodule downgrades 2014-10-21 18:13:14 +02:00
Howaner
44514e53fc Merge branch 'master' into ChunkLoader
Conflicts:
	src/ClientHandle.cpp
2014-10-21 16:55:22 +02:00
Tiger Wang
bc97399b01 Updated ProtectionAreas 2014-10-21 13:44:33 +01:00
Mattes D
ac80f62650 Updated the Core. 2014-10-20 20:23:38 +02:00
Mattes D
d79d5945e3 InfoDump: Do not crash if one plugin fails to load.
If there's a syntax error in one plugin's Info.lua file, report the error and continue processing.
2014-10-20 20:14:00 +02:00
Mattes D
5d43dc0f45 InfoDump: Fixed trailing whitespace. 2014-10-18 20:53:58 +02:00
Mattes D
e2c1b86839 InfoDump: Fixed GH permission export, moved output to plugins. 2014-10-18 20:51:28 +02:00
Mattes D
7f8118e0cb cWorld: Fixed scheduler.
Fixes #1534.
Added a test case into the Debuggers plugin.
2014-10-13 14:49:18 +02:00
Alexander Harkness
fa00cbeda3 Added MagicCarpet 2014-10-08 21:13:38 +01:00
Alexander Harkness
27e69f32c6 Removed MagicCarpet 2014-10-08 21:13:10 +01:00
Alexander Harkness
ccbd5ba6a2 Added Handy. 2014-10-08 21:11:09 +01:00
Alexander Harkness
3b68949cc9 Added ChatLog 2014-10-08 21:08:21 +01:00
Alexander Harkness
8f625867f7 Removed ChatLog. 2014-10-08 21:07:55 +01:00
Alexander Harkness
ce11888851 Added chunkWorx. 2014-10-08 21:05:24 +01:00
Alexander Harkness
de41e2a04c Removed ChunkWorx 2014-10-08 21:04:26 +01:00
Mattes D
a8aeceab9d cClientHandle: Added protocol version knowledge. 2014-10-05 20:19:21 +02:00
Mattes D
02617a11cd Updated Core. 2014-10-05 15:05:51 +02:00
Alexander Harkness
7c731dbd8a Added parentheses for clarity. 2014-10-01 21:37:20 +01:00
madmaxoft
a765e43ee0 APIDump: Fixed cEntity documentation. 2014-10-01 22:32:24 +02:00
Alexander Harkness
adab829d8f Fixed broken code. 2014-10-01 20:14:28 +01:00
madmaxoft
ac0b3168a1 APIDump: Added more of the missing documentation. 2014-10-01 17:29:28 +02:00
madmaxoft
901bed3989 Unified cRoot broadcast chat documentation. 2014-10-01 12:44:28 +02:00
madmaxoft
196f09d4bc APIDump: Documented missing cIniFile function. 2014-10-01 12:24:37 +02:00
madmaxoft
a8f29097de APIDump: Documented missing cCompositeChat functions. 2014-10-01 12:24:09 +02:00
madmaxoft
f2f0c26421 APIDump: Added missing cClientHandle documentation. 2014-10-01 12:14:51 +02:00
madmaxoft
46d3d40493 Updated Core. 2014-09-29 22:12:33 +02:00
madmaxoft
cba871fd87 Updated Core. 2014-09-29 22:00:36 +02:00
madmaxoft
33dc66a4d2 RankMgr: GetAllPlayers() returns players sorted by name. 2014-09-29 22:00:14 +02:00
madmaxoft
7a8ca26052 Updated the Core. 2014-09-29 21:46:38 +02:00
madmaxoft
3c6ce77934 Fixed a typo in the description. 2014-09-29 20:39:09 +02:00
Howaner
347402d20d Merge branch 'master' into Ranks 2014-09-29 14:37:01 +02:00
Howaner
63c53a8e23 cRankManager: Added ClearPlayerRanks() 2014-09-28 15:16:11 +02:00
Howaner
27331da017 Updated api documentation. 2014-09-28 11:17:36 +02:00
Alexander Harkness
4a4411d4d7 Add Code example. 2014-09-28 09:28:51 +01:00
Alexander Harkness
24275e058b changed description to be more readable. 2014-09-27 21:35:08 +01:00
Alexander Harkness
e5873d4e89 Copy edit. 2014-09-27 21:28:59 +01:00
Alexander Harkness
57e83f7d49 Fixed return value descriptions. 2014-09-27 21:27:48 +01:00
Alexander Harkness
990a467eb4 Fixed typo again. 2014-09-27 16:49:40 +01:00