depends on
Displays if the Bradley event is active and changes the color of the Bradley icon when the Bradley is active.
Configuration
{
"Active Color": "#00FF00FF",
"Inactive Color": "#FFFFFF1A",
"Update Rate (Seconds)": 5.0,
"Panel Settings": {
"Dock": "center",
"Width": 0.02,
"Order": 0,
"BackgroundColor": "#FFF2DF08"
},
"Panel Layout": {
"Image": {
"Url": "https://i.postimg.cc/7YbLhxgH/VrYPrKI.png",
"Enabled": true,
"Color": "#FFFFFFFF",
"Order": 6,
"Width": 1.0,
"Padding": {
"Left": 0.05,
"Right": 0.05,
"Top": 0.05,
"Bottom": 0.05
}
}
}
}
API Hook
This hook is to be used by other plugins that modify the bradley and don't want the bradley panel to toggle.
//Name - name of the panel (ex. MagicBradleyPanel)
//bradley - bradley that caused the show
//return true to allow the bradley panel to go active for this BradleyAPC
//return false to not allow the bradley panel to go active for this BradleyAPC
object MagicPanelCanShow(string name, BradleyAPC bradley)
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.