Sonic Screwdriver
Description
What it is
Add Sonic Screwdrivers and Sonic Blasters from Doctor Who into your server.
You have the ability to open iron doors, turn on redstone lamps, scan entities, and turn on redstone, with the Sonic Screwdriver. You can do any of these things plus open wooden doors from 25 blocks away.
You have the ability to temporally delete a 3x3 area of blocks with the Sonic Blaster. After 2.5 seconds the blocks will re-appear. There is a cooldown of .25 seconds after each use.
You craft the Sonic Screwdriver with 3 iron ingots in an 'n' shape then a gold ingot in the middle, a glow stone block in the upper right corner, a redstone torch in the lower left corner, and some redstone dust under the gold ingot.
You can craft the Sonic Blaster with 3 iron ingots on the top row with 2 wood planks filling the rest of the left column then 2 diamonds filling up the rest of the middle row and a redstone dust in the bottom middle
Settings
Settings on the screwdrivers are per Screwdriver, NOT per player. By using the '/SonicScrewdriver Settings' command, a menu will open up for the settings of the screwdriver you are holding. When you hover over each option you will see the name of the option (eg: 'Scan Mobs') and then below it you will see the current state (true means that setting is active while false means it isn't). You can toggle each setting by clicking on the option. Each screwdriver starts with every option enabled and if you change it on one screwdriver, no other screwdriver it affected unless it contains the same UUID (Universally Unique Identification) which you can see in the lore of the screwdriver.
New in V.0.6
- Added per-screwdriver settings
- Added a command to give you a new screwdriver
- Added a command to give you a new blaster
- Added the ability to 'sonic' things from a distance
- Added an option for the disappear time for the blocks removed from the blaster
Video
Big thanks to Samkio and Torrent for making this
(slightly out dated but shows the basic functionality of the sonic screwdriver)
My Other Doctor Who Plugins
Who Regeneration, Weeping Angels, TARDIS, Vortex Manipulator
commands
All commands start with /SonicScrewdriver or /SS
- Help - Shows the help page
- NewScrewdriver - Give you a new sonic screwdriver
- NewBlaster - Gives you a new sonic blaster
- Settings - allows you to modify the settings on the screwdriver you are holding
Permissions
- SonicScrewdriver.RedstoneWire - Allows players to use a Sonic Screwdriver to turn on and off redstone wire
- SonicScrewdriver.RedstoneLamp - Allows players to use a Sonic Screwdriver to turn on and off redstone lamps
- SonicScrewdriver.IronDoors - Allows players to use a Sonic Screwdriver to open and close iron doors
- SonicScrewdriver.Craft - Allows a player to craft a Sonic Screwdriver
- SonicScrewdriver.Scan - Allows a player to scan entities with a Sonic Screwdriver
- SonicScrewdriver.Blaster.Craft - Allows a player to craft a Sonic Blaster
- SonicScrewdriver.Blaster.Use - Allows a player to use a Sonic Blaster
- SonicScrewdriver.Blaster.FreeUse - Allows a player to use a Sonic Blaster without consuming fuel
- SonicScrewdriver.NewScrewdriver - Allows access to the NewScrewdriver command
- SonicScrewdriver.NewBlaster - Allows access to the NewBlaster command
- SonicScrewdriver.Settings - Allows access to the Settings command
- SonicScrewdriver.* - All of the above permissions in one
Config
- Screwdriver
- Item:
- ID: The id of the item to be used for a sonic screwdriver
- Data: The data/damage value for the item to be use for the Sonic Screwdriver, typically 0 except for items like wool and sapplings.
- Enchantment:
- ID: The id of the enchantment to be used.(under EID in the table) This is used along with the id/data of the item to tell the Sonic Screwdriver apart from other items of the same type.
- Level: The level of the enchantment. Should probably be kept over 5 as 5 is the max any enchantment can naturally get. It stops using Roman Numerals after level 10
- Name: The name that will be displayed for the Sonic Screwdriver. Supports color codes
- Lore: This list is displayed under the enchantment. Just for aesthetics. By default it says what you can do with the Sonic Screwdriver
- Item:
- SonicBlaster
- Item
- ID: The id of the item you want to use as the Bonic Blaster
- Data: The data value of the item you want to use as the Sonic Blaster
- Enchantment
- ID: The id of the enchantment to be used.(under EID in the table) This is used along with the id/data of the item to tell the Sonic Blaster apart from other items of the same type.
- Level: The level of the enchantment. Should probably be kept over 5 as 5 is the max any enchantment can naturally get. It stops using Roman Numerals after level 10
- Name: The name that will appear on the Sonic Blaster when you craft it
- GoOver: A list of block ids that the blocks that were taken away will be replaced over
- - ...
- - ...
- DontTake: A list of block ids that the Sonic Blaster can't cut through. This is used as a safety so that valuable blocks won't be destroyed in case something goes wrong and to protect Tile Entities (Signs, Beacons, CommandBlocks, etc...) from loosing their extra values
- - ...
- - ...
- Fuel
- ID: The id of the fuel that the Sonic Blaster uses
- Use: The amount of the fuel that is used each time someone tries to use the Sonic Blaster
- RemovalTime: Time in ticks that blocks disappear for (20 ticks ~ 1 Second)
- Item
To Do
- Add more uses for the Sonic Screwdriver
- Anyone have any suggestions?
Known Bugs
- Turning on redstone wires can sometimes act weird. I designed this with it only being used for testing redstone contraptions without actually needing a lever or something on hand at all times so it doesn't really seem like a big deal to me.
- Things like redstone stuff, doors, sigs, torches, etc... that are attached to blocks that dissapear from the sonic blaster break.
- If anyone finds any please create a ticket for it
Is it possible for you to make it turn redstone torches and pistons etc. on and off?
@xQuartz
Tout d'abord, vous devriez avoir posté que dans le plugin who regeneration.
Deuxièmement, il devrait travailler en 1.5, mais si ce n'est pas alors n'hésitez pas à me prévenir de tout problème et je serai sûr de les corriger
Et désolé, mais mon français est terriable donc j'ai dû utiliser google translate
PS: en 1.5.1/1.5.2?
Bonsoir Jogy34 (Je suis français), c'est vous demander est-ce possible de mettre a jour Who Régénération ?
@CrusadeNumber3
I don't create a new item or anything like that. I just put on an enchantment along with modifying a few nbt things so taking it from too many items wouldn't do anything. Also the default item is a blaze rod.
@Jogy34
I use TooManyItems and it seems like I took the wrong Redstone Torch (there are two: lit and not lit). I tried it again with both versions and it worked.
@CrusadeNumber3
what do you mean?
@Jogy34
Worked when I took a lit Redstone Torch from TooManyItems.
@CrusadeNumber3
1. The version of your server doesn't have any affect on the plugin working or not as this plugin only uses the bukkit api and not craftbukkit code or nms code.
2. Make sure that you have the crafting recipe correct. Other than that I don't really know what to tell you.
Cheerio!
First, sounds like a great plugin, and I'd really love to try it on my server. Unfortunately, it doesn't work.
Maybe it's because my Server is newer than your plugin. I'm using craftbukkit-1.5.1-R.01.jar on 64bit with Worldedit, MantaMobControl and PermissionsBukkit.
The server tells me the plugin is enabled successfully, but it doesn't work ingame (Screwdriver can't be crafted). The Blaster, however, works.
Would appreciate some hint or suggestion how to fix it.
Cheerio, Crusade
@CatzRuleZWorld
Make sure that the FreeUse permission is after the * permission and that in the config you have the fuel that you have SonicBlaster.Fuel.Use to a number greater than zero (The '.'s symbolize a new line in the config).
I'm using this with PermissionsBukkit and in my permissions I have SonicScrewdriver.*: true SonicScrewdriver.Blaster.FreeUse: false When I use the sonic blaster however, it doesn't use any redstone. Can someone help me with this?
@Jogy34
Thanks for the reply
You should make them lock/unlock door, like LWC
@MERCHANToDEATH
In 1.4.7 the door class was supposedly broken however I didn't have a problem with it in any of my plugins. Now it is saying that the top half of a door is actually the bottom half which is causing it to try to open the top half which is actually controlled by the bottom half. So if you were to click on the top half then the door would be saying that it is open but the actual block still thinks it is closed since the actual bottom half is saying it is closed. So to actually open the door you have to click on the bottom half of the door to get it to open but if you clicked on the top half then you have to click on the bottom half twice. Once a beta build for 1.5 is out I will check it again to see if the problem is still there and if it is then I will fix it. For now just alert your players that they have to click on the bottom half of the doors for them to open. Besides that I couldn't find any other bugs.
Please update, my players love this plugin very much but it is having a problem where you have to put the sonic down on the floor in front of the iron doors to get them to open and sometimes to erases your sonic from inventory. It just seems to be generally buggy with 1.5 although it does still work to some degree. Thanks for all the great doctor who plugins, I use all most all of your plugins on my new doctor who themed server and I really appreciate all your hard work.
@log234
It doesn't involve any coding or anything like that. You would just make a file (it can be a .txt file) that in it you would have the original text and then the modified text after it. For instance if you wanted to change 'Entity Info' to 'Información de entidad' you would just put this in the file:
- Entity Info: 'Información de entidad'
From there I would just clean it up and then I would implement it.
@log234
It doesn't involve any coding or anything like that. You would just make a file (it can be a .txt file) that in it you would have the original text and then the modified text after it. For instance if you wanted to change 'Entity Info' to 'Información de entidad' you would just put this in the file:
- Entity Info: 'Información de entidad'
From there I would just clean it up and then I would implement it.
@Jogy34
About that language file, I wouldn't mind writing such a config file, but I'm not so experienced with writing YAML... Do you want me to look into how to code YAML files? or do you want a plain .txt file?
great plugin but it glitches signs, paintings and item frames making them fall to the floor. its a small bug but causes alot of grief.