Bullseye
Bullseye adds the ability for blocks to detect arrows with a sign. Allows you to create a Bullseye block (arrow detector block) by placing a sign, with special text, on any block. Whenever that block is hit with arrows, the sign will change to a redstone torch briefly.
This is different from a Target block because you can choose which sides the redstone signal will appear, you can customize the pulse length, and you can make it completely hidden by having the torch appear on the back of the block.
Features
- Make blocks able to detect arrows hitting them!
- The detection is shown by Bullseye signs turning into a redstone torch briefly
- No commands needed
- Can put multiple signs on one block
- Customize the time the redstone torch will be active in ticks
- Bullseye signs turn blue if placed on a valid block, and red if placed on an invalid block.
- Can configure which blocks to allow in an allow/deny list.
- Optional message to be displayed when the Bullseye block is hit with an arrow, message can be written on the last three lines.
- Spaces needed between lines
- Works with colors
- Works with any block you can put a sign on!
- If the block has an Inventory (Chest, Dispenser, Enchantment Table, etc.) crouch/sneak first (hold Shift) in order to put a sign on them
- If the redstone torch breaks for any reason, it will drop the original sign instead of the torch
- Option for arrows shot out of Dispensers to activate the signs (default true)
- Option for arrows shot by Skeletons to activate the signs (default false)
- Configure a maximum allowed tick duration (default 100 ticks, 5 seconds)
Usage
- Make a sign and put the text
[bullseye]
,[bull]
, or[be]
on the first line- Optionally put the number of ticks the redstone torch will activate for:
[be 40]
will be active for 2 seconds - Default 30 ticks
- Optionally put the number of ticks the redstone torch will activate for:
- Optionally any text on the next 3 lines will be sent to you when you activate the sign
- Now whenever you shoot the block the sign is on with an arrow, the sign will briefly turn into a redstone torch
- Note: you don't have to hit the sign, just the block the sign is attached to
- You can have multiple signs per block
These are examples of valid signs:
Here is an example of an invalid sign:
Known Issues
Minecraft 1.14 only
With Spigot 1.14, the server shows an error in the logs similar to the following:
[Server thread/ERROR]: Block at 84, 3, 182 is Block{minecraft:redstone_wall_torch} but has net.minecraft.server.v1_14_R1.TileEntitySign@37dedbb0. Bukkit will attempt to fix this, but there may be additional damage that we cannot recover.
However, Bullseye works as expected so it can be ignored. This does not show on any other version tested from 1.13-1.19.1.
To-Do
- Allow other projectiles besides arrows
- Add permissions
Customize per sign how long the redstone torch is active(v0.10.0)Maybe figure out how to get Chests and Enchanting tables to work correctly??(v0.8)Add config for which blocks to allow(v0.7)Fix water issue(v0.5)Add Furnaces, Crafting tables, etc.(v0.3)
Have more ideas? Create a ticket! :)
Source
- Is on
Github
Issues?
- Either create a ticket or
- Post them here.
Changelog
Version 0.10.0
- Add custom activation time by adding ticks to the tag line
[bullseye 40]
will have the sign activate for 40 ticks (2 seconds)
- Fixed water breaking an activated Bullseye sign (again...)
- Fixed Skeletons and dispensers able to trigger Bullseye blocks
- Verified support for 1.13-1.19.1
Older changes:
Version 0.9.1
- Fix issue where players could turn any amount of redstone torches into signs
Version 0.9.0
- Support for 1.13 - 1.17
- Completely fix issue with breaking activated redstone torches and having them drop
- Now it drops the original sign
- Change blockList to allow/deny list
Version 0.8.1
- Support for 1.12
- Note: 1.13 is working, but glitchy. Not recommend to use for 1.13. It will require more code changes to work properly
Version 0.8.0
- If you can put a sign on it, it will work (got all blocks working)
- Flowing water can't stop a Bullseye sign!
- Better detection of the block hit by an arrow
- Prevented explosions from dropping the redstone torch and cancel putting the sign back
- Added an allowSkeleton option in the config to allow skeletons to activate Bullseye signs
- Rewrote a lot of code because the old stuff was deprecated
- Improvements and bug fixes
- I did a 0.1.0 increase mainly because of just how much code was rewritten
Version 0.7.1
- Highly recommended for users of v0.7.0
- Fixed a bug that made all signs created think they were bullseye signs.
Version 0.7 (broken: use v0.7.1)
- Added config.yml
- Whitelist/Blacklist for which blocks to allow as Bullseye blocks.
- Add option for arrows launched from dispensers to activate the Bullseye signs.
- Default is true and can be changed in the config.yml
- Built with CB1.3.1-R1.0, works with CB1.2.5
- Some code optimization.
Version 0.6
- Code optimization.
- More work on the previous water bug.
- Built with 1.2.5-R5.0 and working in 1.3.1-R0.1
- In 1.3.1 when using a fly hack (such as zombe's) arrows don't shoot right.
- Fixed issue where if a player hit a Bullseye sign, only that sign would change, even if there were others on the attached block.
Version 0.5
- Highly recommended for all users
- Fixed an issue where v0.4 would only work with previously made signs, and not new ones.
- Confirmed it working on CraftBukkit 1.2.5-R5.0.
Version 0.4 (broken: use v0.5)
- Bug fix: when placed near water, could potentially lead to an infinite amount of redstone torches
Version 0.3
- Note blocks, Crafting tables, and Jukeboxes work like Furnaces and Dispensers.
- Ender portal frames added to "invalid" list.
Version 0.2
- Added ability for furnaces and dispensers to be Bullseye blocks.
Version 0.1
- Initial release
- If you place a water bucket directly on a redstone torch when its active, the torch will drop and the sign will still change back, allowing for an infinite amount of redstone torches
- If changing the whitelist/blacklist blocks, the first line on an already made Bullseye sign won't change color until it is shot.
please update 1.12.2 !! spigot very good idea plugin !!! help ;-)
In reply to obscurerking:
Just added 1.12 support 🎉 Check it out: v0.8.1
In reply to janka102:
i lov you !! hell yea i cant find your v0.8.1
In reply to obscurerking:
Thanks! And oh I see, it's still under review. OK so check back later today or tomorrow and hopefully it'll be ready.
In reply to janka102:
thank you for updating this plugin !!!
lov this plugin please update nice idea ;-)
hi janka102,
yeah, need to work on my aim, or put up more signs :D
i get the message, but i thought the redstonetorch would be visible too..
works so far.. time to finish my shooting range for the guys to prove there aim :)
thank you for the plug :)
as a side-request:
any chance to make this to work thogether with battlearena, so i can list theire shoots and points?
or put in a counter made by yourself for it.. i just would like to create kinda highscore-list that everyone could look at.
would be cool :)
@thief001
Regarding the video, I have contacted the owner and am waiting for a reply. Thanks for noticing that!
And for the suggestion, you should already be able to this. You should be able to put a bullseye sign on any face of the block and hit it on any face and the sign should trigger
could someone please unprivate the youtube vid?
thx...
also as a sugestion for improving,:
may i suggest that blocks dedect hits on the backside? so i can hide the signs, and make some nice target areas, but the hit gets dedected by the signs on the back of the blocks??
This is about a plugin not the place to ask to be unban from a server. But your in luck as I seen this your unban.
Please unban me bullseye.ddns.net I am truly sorry for grefing your online server my profile is Putemupchump sorry.
Please unban me bullseye.ddns.net I am truly sorry for grefing your online server my profile is Putemupchump sorry.
@UndefinedDecoder
Thanks for the confirmation! I'v been really busy with school and all so I haven't had much time for testing. I updated the compatibility of the latest file to include 1.4.6.
Hello all! I'd like to confirm this plugin works with CB 1.4.6-R3.0 and SignShop 2.5.2. I didn't see any reason to test ChestShop. The only other plugin I run on my server that involves signs is Transporter and they're automatically created when the portal is created. I run 36 plugins (5 of which are world generators) and this plugin doesn't seem to interfere with any of them. Thanks for this excellent plugin! Dev, please update your compatibility listing.
@Malikk65
You can hit the sign or the block its attached to. Either way though, the sign changes.
And i'll give the blockPhysicsEvent a look into, thank you!
The actual block detects arrows? Or you have to hit it on the side with the sign?
Also, to get the blocks you don't support to work (when the torch pops off), add the blockPhyicsEvent to your listener class, then cancel it if it's at the location of one of your signs, assuming you store those. Just a thought
@Gemil01
Hmmmmm.. I'll look into it as soon as I can and hopefully have a fix within a day! :)
EDIT: I fixed the issue you were having and the file should be up today! v0.7.1
Since the update to v0.7: Each time i want to create a shop with Chestshop, it says i created a new bullseye block.
@damnnicholas
Its great, thanks!! I put it in place of my little gif I had there. :)
Hey, i created a video showcase on your plugin :) Hope you'll like it!
Link to video: http://www.youtube.com/watch?v=20DSEbZTYX0&feature=youtu.be