CTMSocial

CTMSocial

Functionality

A plugin written to make CTM gameplay more of a social experience. This plugin was designed and tested using Vechs Super Hostile maps.

  • Announces when players first find the wools in the chests
  • Announces when players place the blocks on the Victory Monument
  • Keeps a log of who returned what accessible via /vm

Tested with:

  • Waking Up
  • Spellbound Caves

Example /vm output Screenshot should be here

Example VM placement announcement Screenshot should be here


Permissions

These are only relevant for managing CTM enabled worlds, anyone can use /vm * *ctm. ** * Being an OP


Commands

  • /ctm View the main menu for management functions
  • /vm View the current blocks on the VM

Example installation

Say you want to play Vech's Super Hostile map "Waking Up". Welp, load up the world on your server. You may use Multiverse to do so (I do), however you choose to do so is beyond the scope of this plugin, but do so :P

Once loaded up, simply issue the following command to enable CTMSocial listening for that map: /ctm world enable WakingUp This obviously assumes you named your map WakingUp. I recommend naming it something simple, and one word with no spaces (although it should work with them)

Welp, that's it! Start playing! If you bork the map and decide to start over with a fresh copy, simply do /ctm world reset WakingUp. This will completely forget all the stats for the world so you can start over.

You can also disable listening on the world later with /ctm world disable WakingUp.

To view a list of all currently enabled CTMSocial worlds, issue /ctm world list.


Configuration File

Very self explanatory.

CTM Social Configuration: Enabled Worlds: Announce wool finds: true Announce Victory Monument place: true


Bugs

There will undoubtedly be compatibility issues with CTM maps because there is no universal standard for the Victory Monument. I'd like to support as many maps as I can without hindering the accuracy of the plugin. If you find a map that this plugin doesn't work for, I will do my best to add support if feasible. I plan to do a lot more testing


CTM Map Architects

  • Found wool event is fired when a player opens a chest with a colored wool in it for the first time. It's unlikely that this event will fire inaccurately unless the map contains sheep, in which the white wool event may fire incorrectly if a player opens a chest containing white wool.

  • The victory monument event is a bit more in depth. For this event to fire, the block must be placed on glass, and the wool/block must have a wall sign directly above it with text corresponding to the block type. My plugin currently looks for signs with the following text for blocks:

White Wool, Orange Wool, Magenta Wool, Light Blue Wool, Yellow Wool, Lime Wool, Pink Wool, Gray Wool, Light Gray Wool, Cyan Wool, Purple Wool, Blue Wool, Brown Wool, Green Wool, Red Wool, Black Wool, Redstone Ore, Gold Block, Iron Block, Diamond Block

If you'd like to make your VM compatible with this plugin, just make sure the bottom block is glass, and there is a wall sign directly above it with the text I've listed above. (I can also update the plugins dictionary to look for signs that may be worded slightly differently. If this is the case, please let me know.)


Developers

I plan on providing an API for the two events my detection plugin fires, but this hasn't been started yet. This will be so other plugins can easily hook into my VM detection code and perhaps give the players potions or items (whatever really) when my plugin detects the event.


Source?

Certainly, have a peek.


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files