1
0
Commit Graph

845 Commits

Author SHA1 Message Date
madmaxoft
251f0d5b97 Debuggers: Simple cRankManager test case. 2014-08-08 23:13:43 +02:00
Howaner
43de9af878 Added api documentation for Clamp() 2014-08-05 13:54:04 +02:00
Tiger Wang
01e9d6311a Updated submodules 2014-08-04 14:24:46 +01:00
madmaxoft
f5aaf52210 Debuggers: Added a Name-from-UUID cMojangAPI test. 2014-08-03 22:04:51 +02:00
madmaxoft
21f52676f3 cMojangAPI: Added UUID-to-Name lookup.
Also fixed the bindings, now all functions are static-like.
2014-08-03 22:04:51 +02:00
madmaxoft
003f18bd0f Added cMojangAPI:GetUUIDFromPlayerName().
This is a simpler way to ask for a single name -> uuid conversion.
2014-08-03 22:04:50 +02:00
Mattes D
941a182d8a Merge pull request #1255 from mc-server/NameToUUID
Name to UUID
2014-08-01 22:35:12 +02:00
Howaner
c138d19c31 Updated documentation again. 2014-07-31 18:16:52 +02:00
Howaner
c49d4fd215 Updated documentation. 2014-07-31 12:15:18 +02:00
madmaxoft
8b519bf6e2 MojangAPI: Added a UseCachedOnly param to GetUUIDsFromPlayerNames(). 2014-07-31 10:02:50 +02:00
Howaner
66d34b83d2 Added beacon documentation. 2014-07-30 22:31:43 +02:00
madmaxoft
a71c2da3f8 APIDump: Added notes about cache to cMojangAPI. 2014-07-30 17:07:57 +02:00
madmaxoft
1793644fef APIDump: Fixed UUID-related documentation. 2014-07-30 14:02:36 +02:00
madmaxoft
afef7a79d7 Debuggers: Updated for the new cMojangAPI changes. 2014-07-30 13:56:30 +02:00
madmaxoft
6476bd0e2e Exported cMojangAPI to Lua. 2014-07-30 13:56:29 +02:00
madmaxoft
b6677efecd Debuggers: Added an example for cClientHandle:GetUUIDsFromPlayerNames(). 2014-07-28 17:14:23 +02:00
madmaxoft
1acd03f96f Added cClientHandle:GetUUIDsFromPlayerNames() to Lua API. 2014-07-28 17:09:39 +02:00
madmaxoft
0346ab15ad Debuggers: Optimized and commented the /rmitem handler. 2014-07-18 23:51:15 +02:00
madmaxoft
abe8a6bd45 APIDump: Documented RemoveItem(). 2014-07-18 23:48:06 +02:00
Howaner
51b91befbd Added RemoveItem() function to the player inventory. 2014-07-18 23:11:59 +02:00
Howaner
fc6a5878df Removed special character in APIDump 2014-07-18 01:45:45 +02:00
madmaxoft
8e946da8ac Merge branch 'master' into potions 2014-07-15 09:01:32 +02:00
archshift
554e1c0dd3 OnEntityAddEffect.lua: Removed Originator param 2014-07-13 16:10:01 -07:00
Howaner
f1491ad1d1 Fixed diamond mover plugin 2014-07-13 01:18:41 +02:00
archshift
83c69134c0 Merge remote-tracking branch 'origin/master' into potions 2014-07-11 17:37:28 -07:00
madmaxoft
d790a45c50 APIDump: Documented cWorld:SetChunkAlwaysTicked.
Ref.: #1160
2014-07-10 18:28:20 +02:00
madmaxoft
3b7e0969b9 Debuggers: Added forced chunk ticking test.
Ref.: #1160
2014-07-10 18:19:05 +02:00
archshift
e824cd09b3 Merge remote-tracking branch 'origin/master' into potions
Conflicts:
	src/Entities/Player.cpp
	src/Entities/ProjectileEntity.cpp
2014-07-09 23:28:27 -07:00
madmaxoft
8f65d13d1b Merge remote-tracking branch 'origin/HandleCommand' 2014-07-04 15:41:48 +02:00
STRWarrior
546aab7b4a Removed useless sentence in cPluginManager:ExecuteCommand description. 2014-07-04 15:36:29 +02:00
STRWarrior
aa81a3ff3e Fixed ExecuteCommand description. 2014-07-04 14:29:19 +02:00
madmaxoft
20afd5d70e APIDump: Updated OnWeatherChanging docs after latest code changes. 2014-07-03 17:53:57 +02:00
Howaner
835d00428c Update documentation 2014-07-02 14:49:08 +02:00
Howaner
5a888f0a51 Change documentation 2014-07-01 20:30:13 +02:00
Howaner
5a152435b3 Add documentation. 2014-06-30 15:22:48 +02:00
madmaxoft
4306092753 Debuggers: Fixed the Blaze rod query tool. 2014-06-24 07:05:49 +02:00
madmaxoft
08fed2a213 Added cClientHandle::IsUUIDOnline function.
Ref.: #771
2014-06-21 22:13:35 +02:00
STRWarrior
e0a9f37d90 (Force)ExecuteCommand returns the CommandResult enums
Exported and documented the CommandResult enums
2014-06-18 12:13:01 +02:00
madmaxoft
a37d5410b4 APIDump: Added OnEntityAddEffect hook documentation. 2014-06-17 11:39:22 -07:00
archshift
5b2b6e0615 Pawn: renamed HandleEntityEffects to HandleEntityEffect
Exported entity effect functions for ToLua and documented them in APIDesc.lua
2014-06-17 11:39:21 -07:00
STRWarrior
b0f1707d50 Fixed ChunkWorx stop button giving an error 2014-06-13 23:16:52 +02:00
madmaxoft
72043f5b0c APIDump: Added the Info.lua article.
Fixes #504.
2014-06-13 00:10:01 +02:00
Alexander Harkness
db4d786a84 Merge pull request #1082 from mc-server/cauldronfixes
Add biome-aware downfall functions.
2014-06-12 16:50:08 +01:00
Qais Patankar
3e7384d921 Fix typo in handy_functions.lua 2014-06-12 15:01:24 +01:00
Alexander Harkness
c335b8d773 Update APIDesc.lua 2014-06-11 13:34:49 +01:00
madmaxoft
97bfccfdc0 APIDump: Documented cBlockArea:GetCoordRange(). 2014-06-11 14:34:47 +02:00
Tiger Wang
bd25069c25 Update APIDesc.lua 2014-06-11 13:21:57 +01:00
Alexander Harkness
c5d1ca7dac Small change for easier understanding. 2014-06-08 20:54:41 +01:00
STRWarrior
8cf4e806ba APIDump: Fixed crash 2014-06-02 13:49:05 +02:00
STRWarrior
4c757de9ff Added OnProjectileHitBlock example in Debuggers 2014-06-02 11:54:45 +02:00
STRWarrior
fa78379f5a Updated OnProjectileHitBlock documentation. 2014-06-02 11:45:32 +02:00
Alexander Harkness
e06f786f11 Stuff. 2014-05-27 20:24:04 +01:00
Alexander Harkness
2194238ef0 Update main.css 2014-05-26 17:17:54 +01:00
Tiger Wang
27a9fa3110 Updated Core 2014-05-24 23:28:48 +01:00
Howaner
f5fe368220 Merge branch 'master' into Slabs 2014-05-07 12:54:58 +02:00
madmaxoft
13452d3ab9 APIDump: Updated the OnDisconnect hook docs.
Ref.: #655.
2014-05-02 12:35:35 +02:00
madmaxoft
0cfa0c4561 APIDump: Improved error handling in API file loader. 2014-05-02 12:35:35 +02:00
madmaxoft
695baed226 Updated docs for StringToEnchantmentID.
Ref.: mc-server/Core#67
2014-04-23 23:06:29 +02:00
madmaxoft
62991d46fe APIDump: Added a ChunkStay article.
Fixes #772.
2014-04-19 16:15:57 +02:00
madmaxoft
8c7d0f5304 InfoReg uses cCompositeChat for subcommand lists.
Also fixed an issue with console commands.
2014-04-10 19:09:37 +02:00
Howaner
7da308a7e1 Merge branch 'master' into Slabs 2014-04-06 21:43:23 +02:00
Tiger Wang
c7f8c7eb21 Updated cWorld::CreateProjectile() documentation 2014-04-06 17:47:27 +01:00
madmaxoft
43e3a55a70 Added more API documentation to cCompositeChat. 2014-04-05 12:09:30 +02:00
Howaner
32d054e8fd Merge branch 'master' into Slabs
Conflicts:
	src/Blocks/BlockDirt.h
2014-04-03 22:03:18 +02:00
madmaxoft
e2fb507be2 APIDump: Added angular specifics. 2014-04-03 21:52:50 +02:00
madmaxoft
e304bd08a2 Documented the units and range for entity rotations. 2014-04-03 21:44:03 +02:00
madmaxoft
67d7ad8689 Debuggers: Added a Base64 API roundtrip test. 2014-04-02 11:58:19 +02:00
madmaxoft
e7e65b5005 Merged branch 'msDifference'. 2014-04-01 21:21:11 +02:00
STRWarrior
21e0607e49 APIDump: Gave msDifference it's own table. 2014-04-01 21:12:48 +02:00
madmaxoft
1229795ff0 cBlockArea: Added the msMask merge strategy. 2014-04-01 20:50:10 +02:00
madmaxoft
7aa6a3b866 LOG() API reads the LogLevel from the cCompositeChat's MessageType. 2014-04-01 09:32:14 +02:00
madmaxoft
58f2550321 APIDump: Documented the cCompositeChat support in logging functions. 2014-03-31 23:05:31 +02:00
madmaxoft
8126d9e66e Console logging supports cCompositeChat as its parameters. 2014-03-31 22:51:14 +02:00
STRWarrior
b19022fc7e Added extra table which should make it more clear what msDifference does. 2014-03-31 20:13:08 +02:00
STRWarrior
a8bc27f872 Fixed typo 2014-03-31 20:05:48 +02:00
STRWarrior
f7df8e133b Documented msDifference 2014-03-31 19:58:19 +02:00
madmaxoft
55d0db1606 APIDump: Added code completion support file to ZBS tutorial. 2014-03-31 18:34:27 +02:00
madmaxoft
f38a009b3c APIDump: Renamed the ZBS API dump file to mcserver_api.lua.
This is to avoid confusion with ZBS, where two "mcserver.lua" files were present.
2014-03-31 18:25:00 +02:00
madmaxoft
1bda9b0424 Merge branch 'NetherFortGen'. 2014-03-30 19:17:33 +02:00
madmaxoft
b64a1daf6c APIDump: Added article: Setting up ZeroBrane Studio.
Fixes #824.
2014-03-30 18:48:11 +02:00
madmaxoft
47a427d3dc Merge branch 'master' into NetherFortGen 2014-03-29 23:05:17 +01:00
STRWarrior
379d403443 Documented both hooks. 2014-03-29 16:08:39 +01:00
madmaxoft
8557549cfa Implemented the msSpongePrint merge strategy.
Similar to msImprint, but allows prefabs to carve out air pockets, too. The sponge block is used as the NOP block.
2014-03-28 18:03:37 +01:00
madmaxoft
173fd0dd92 Merge branch 'howaner/GlobalFixes'. 2014-03-28 16:39:32 +01:00
madmaxoft
7cc44d4d8b Debuggers: Deactivated the chunk generator callback. 2014-03-28 13:34:32 +01:00
Howaner
327b70e769 Change documentation text 2014-03-27 23:20:28 +01:00
Howaner
9ac3e3405a Change SpreadSource documentation 2014-03-27 23:20:28 +01:00
Howaner
54d55b31ef Add documentation for new Block spread 2014-03-27 23:20:28 +01:00
madmaxoft
f67ad36965 InfoReg updated for multi-verb console commands. 2014-03-25 21:59:40 +01:00
madmaxoft
b370cacf0c Plugins can set flying speed. 2014-03-20 16:14:40 +01:00
madmaxoft
9fae50f447 APIDump: Fixed wrong escaped strings. 2014-03-20 16:05:22 +01:00
madmaxoft
64d9390069 Rewritten player speeds to be relative unit-less.
Value of 1 means "default speed", 2 means "double the speed", 0.5 means "half the speed". This allows for easier plugins and is more future-proof.
2014-03-20 15:45:42 +01:00
madmaxoft
d6a72da382 APIDump: Updated comments to reflect current code. 2014-03-19 22:51:02 +01:00
madmaxoft
96e0b26912 APIDump: Added ZeroBraneStudio API export.
Fixes #821.
2014-03-19 22:42:56 +01:00
madmaxoft
7c717fe6df APIDump: Reformatted the plugin to avoid all ZBS Analyzer issues. 2014-03-19 13:57:37 +01:00
madmaxoft
38aad32a8b Debuggers: Using binary file mode for .schematics. 2014-03-18 13:54:32 +01:00
Mattes D
728bfd155e Merge pull request #811 from mc-server/DumpInfo
Created a small plugin for InfoDump
2014-03-16 21:53:11 +01:00
STRWarrior
5a9f17060d Only check for "Info.lua" with capital I 2014-03-16 21:52:28 +01:00
madmaxoft
4227066f6d Fixed InfoReg.lua's handling of multi-level commands. 2014-03-16 21:37:33 +01:00
madmaxoft
5ac863f7fa Removed the @EnableMobDebug.lua file.
It is not needed anymore, ZeroBrane Studio now has direct support for invoking the debugger in MCS plugins.
2014-03-16 21:37:33 +01:00
STRWarrior
db73e37e2d Created a small plugin for InfoDump
It allows you to dump the info of a plugin by pressing a button in the webadmin.
2014-03-15 20:33:34 +01:00
madmaxoft
4a5bea159f Debuggers: Added a test for WE selection API.
This tests mc-server/WorldEdit#34.
2014-03-15 08:38:15 +01:00
madmaxoft
d364c7befc APIDump: Documented a forgotten cCuboid constructor. 2014-03-15 08:38:14 +01:00
madmaxoft
62ed305f07 APIDump: Fixed missing return statement. 2014-03-15 07:51:33 +01:00
madmaxoft
0442c41c87 Added cCuboid:Assign(OtherCuboid) API function. 2014-03-15 07:50:39 +01:00
madmaxoft
a982b9b5ac APIDump: Trigger the dump manually.
Fixes #715. The dump can be triggerred by issuing an "api" console command, or in the webadmin.
2014-03-14 16:18:31 +01:00
madmaxoft
bba090ebdd cPluginManager:Bind[Console]Command returns true on success.
Fixes #801.
2014-03-14 11:18:14 +01:00
madmaxoft
04dcd850d6 APIDump: Removed old documentation, documented some new functions. 2014-03-11 08:31:27 +01:00
madmaxoft
15c70a1f68 APIDump: Updated WEOffset-related docs. 2014-03-12 07:53:25 +01:00
madmaxoft
3e9f265a36 Merge branch 'master' into cBlockArea_Offset 2014-03-12 07:39:39 +01:00
STRWarrior
7d1e32a28b Fixed APIDump 2014-03-11 19:45:16 +01:00
STRWarrior
fa4ff28bc0 Documented the functions. 2014-03-11 19:38:56 +01:00
Tiger Wang
09c5542123 Merge pull request #768 from Howaner/BlockEntitys
Add TNT load/save
2014-03-09 21:44:32 +00:00
Tiger Wang
d872f2e41d Updated Core 2014-03-09 01:49:32 +00:00
Howaner
60091bcba3 Change tnt documentation to ticks 2014-03-08 12:31:20 +01:00
Howaner
527f358510 Merge branch 'master' into BlockEntitys 2014-03-08 12:29:45 +01:00
Howaner
baeff21a5b Add new tnt documentation 2014-03-08 10:29:57 +01:00
madmaxoft
ffdf5f2022 Fixed cBlockArea schematic string saving signature. 2014-03-07 21:28:52 +01:00
Mattes D
f72c747b50 Merge pull request #763 from Howaner/BlockEntitys
Add Flower Pots
2014-03-07 17:54:10 +01:00
Howaner
eff054027f Link cItem in the documentation 2014-03-07 17:51:43 +01:00
Howaner
8fdffbb48c Add missing documentation files 2014-03-07 16:14:11 +01:00
madmaxoft
f6aaeb74a9 Debuggers: Added a test of the cBlockArea string-serialization. 2014-03-07 09:18:10 +01:00
madmaxoft
166ab59582 APIDump: Documented cBlockArea string-serialization functions. 2014-03-07 09:17:42 +01:00
Mattes D
2def1b40e1 Merge pull request #747 from mc-server/InfoDump_Github
Info dump github
2014-03-06 10:38:45 +01:00
STRWarrior
dc0cbd594c The APIDump generates a list of all the permissions again. 2014-03-05 19:17:59 +01:00
madmaxoft
036608c645 APIDump: Documented the cCompositeChat class. 2014-03-05 18:56:32 +01:00
madmaxoft
86615428cd APIDump: Ignoring classes by exact match.
"cCompositeChat" was ignored because it matched "os".
2014-03-05 18:28:42 +01:00
madmaxoft
ab30d94b2f Debuggers: Added simple test for cCompositeChat. 2014-03-04 22:17:47 +01:00
STRWarrior
20e377ea7b Fixed typo
Discription => Description
2014-03-02 16:55:04 +01:00
STRWarrior
0c8d08cb09 Simplified and more clearer infodump for Github. 2014-03-02 16:48:55 +01:00
Mattes D
b17d04737d Merge pull request #738 from xdot/master
Refactored global block property arrays
2014-03-02 16:13:43 +01:00
andrew
0c87341631 GetById => Get 2014-03-02 16:24:09 +02:00
andrew
f40f2ad928 APIDump: ID -> Type 2014-03-02 12:59:09 +02:00
andrew
3ca56b39bc Exported cBlockInfo 2014-03-02 10:50:24 +02:00
madmaxoft
29cc1ed051 Ignoring all plugin subfolders.
Plugins developed directly with MCS have been added explicitly; other plugins are ignored.
2014-03-01 20:59:40 +01:00
Mattes D
80b0496bff Merge pull request #735 from xdot/master
Exported and documented cScoreboard
2014-03-01 15:20:30 +01:00
STRWarrior
854cf9df99 Using comma instead of string concatenation. 2014-03-01 14:45:38 +01:00
STRWarrior
6129b6edf1 If there is a SourceLocation available the InfoDump will note it in the forum version. 2014-03-01 14:29:40 +01:00
andrew
add9955255 APIDump: Fixed cScoreboard enums 2014-03-01 15:03:27 +02:00
andrew
39c8e68ef0 Exported cScoreboard::ForEachTeam 2014-03-01 14:27:55 +02:00
andrew
a28e5eca18 Exported cScoreboard::ForEachObjective 2014-03-01 14:03:16 +02:00
andrew
5c44945287 Exported and documented cScoreboard 2014-03-01 12:08:40 +02:00
STRWarrior
ce07a22fe6 APIDump: Documented cRoot:CreateAndInitializeWorld. 2014-03-01 10:44:34 +01:00
madmaxoft
d97363a1b3 Documented the changes in cJukeboxEntity. 2014-02-28 15:41:46 +01:00
madmaxoft
e4c3d3eb6d Added a MobDebug enabler script.
This file is to be copied to a plugin's folder in order to debug that plugin with MobDebug.
2014-02-28 10:37:09 +01:00
madmaxoft
da75907942 APIDump: Added Geometry file to project. 2014-02-26 20:49:01 +01:00
madmaxoft
b7b027c0f6 APIDump: Documented new cCuboid functions. 2014-02-26 20:44:52 +01:00
madmaxoft
50b664fd0c APIDump: Separated out Geometry-related classes to their own file. 2014-02-26 20:38:51 +01:00
madmaxoft
0d8ab184e0 InfoReg: Subcommand aliases are handled properly. 2014-02-25 18:15:09 +01:00
madmaxoft
9ab766189d Added useful parameter overloads to cBlockArea Lua API. 2014-02-24 23:17:12 +01:00