Coder Social home page Coder Social logo

phoenix616 / betterbeds Goto Github PK

View Code? Open in Web Editor NEW
8.0 7.0 10.0 75 KB

Bukkit plugin to make sleeping in Minecraft a lot better.

Home Page: http://www.spigotmc.org/resources/betterbeds.1824/

License: GNU General Public License v3.0

Java 100.00%

betterbeds's Introduction

BetterBeds

Bukkit plugin to let you sleep better in Minecraft's survival multiplayer.

Full description and documentation can be found on the spigotmc.org resource page: http://www.spigotmc.org/resources/better-beds.1824/

Dev builds can be found here:
http://ci.minebench.de/job/BetterBeds/

License

BetterBeds
Copyright (c) 2019 Max Lee aka Phoenix616 ([email protected])

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

betterbeds's People

Contributors

joeyfoo avatar mattsturgeon avatar neotiger avatar phoenix616 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

betterbeds's Issues

Request: Ignore perm still lets ignored players help reach sleep counter

Hey, can you add a toggle/special permission that I can make ignored players still count towards the % sleeping? I want staff to be ignored if they are busy with something, but still be able to contribute towards the % sleeping if they can.

In other words: this permission would make ignored players not be counted towards total # of players in the world, but still count towards # of players sleeping.

ignoreOp

I have a very tiny server for which everyone has /op. Because of this, everyone is ignored by this plugin. I want to avoid setting up a Permissions plugin since we will likely revert back to Vanilla on future snapshots. I would be using https://xisumavoid.com/vanillatweaks/ "Multiplayer Sleeping" data pack, but it doesn't appear to be working under the current Vanilla version 1.13.1.

I would like the means to have the config "ignoreOp" with a default of true so it will not affect current installs, but I would be able to tell BetterBeds to allow our players to sleep even though we have /op.

Thank you for considering this request.

A /sleep command for admins

Is your feature request related to a problem? Please describe.

When I'm doing admin work on my server I don't like having to interrupt when it gets dark in order to sleep. I could just turn off the daylight cycle but then I forget to turn it on again and that is not ideal.

Describe the solution you'd like

Simply having a /sleep command that admins can use to start the night skipping process,

Describe alternatives you've considered

I mean I can't think of any better solutions...

Additional context

Plugin depending player ignoring support

Don't count AFK players. For example by hooking into Essentials or maybe even running our own AFK checks (although I don't really want to get into this, might be only something for future updates if it really is needed)

NPCs count as players for calculation

Version: Better Beds 0.6.1

Hi,
I have the latest Citizens installed and when trying to sleep, the NPCs are counted as players. I made sure that no NPCs have the playerlist flag set to true (http://wiki.citizensnpcs.co/Commands see: /npc playerlist). Also in the Citizens config:

player:
    remove-from-list: true

My Better Beds config (rest is default):

minPlayers: 1
sleepPercentage: 0.49

Message in console when three normal players are on the server:
Xericore is now sleeping 1/30 (3.00%)

It looks like the NPCs that are present in the currently loaded chunks count as players when sleeping. We have more NPCs on the server, but I guess these chunks and thus the NPCs aren't loaded.
No NPCs are listed when pressing TAB ingame to check the online players.

Best regards

ghost option

Can you please add a option to disable Ghosts? For Player with * Permission i think its a good idea.

Request: Admin permission to always see sleep messages

I have my config set to show sleep notifications per world, but some players spam this. I'd like a permision I can give to admins so that they will always get the sleep notifications regardless of what world they are in,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.