Check who deployed a sleeping bag or bed, and who it is assigned to. Also check who's renamed a bag.

Supported Games
GameServerKingsGameServerKings

Sleeping Assignee is a simple plugin that allows players with permissions to check who a sleeping bag is assigned to, and who it was deployed by.

Permissions

  • sleepingassignee.use - Allows player to use the /bag chat command

Chat Commands

  • /bag - Allows you to check who a sleeping bag is assigned to and who deployed it.

This is a default command, and can be changed through the confirguation file.

Localization

{
  "NoTarget": "There is no valid object that you are looking at!",
  "AssignedTo": "This sleeping bag/bed has been assigned to {0}, and was deployed by {1}.",
  "NoPerm": "You lack the required permissions to use this command.",
  "NotBag": "This object is not a sleeping bag or a bed.",
  "Naughty": "The name you attempted to give this bag is blocked. Your attempt has been reported to the admins."
}

Note: If adjusting a language value with variables make sure to keep the {0} and {1} in the same order.

Configuration

{
  "Command To Check": [
    "bag",
    "bed",
    "assign",
    "check"
  ],
  "Prevent Naughty Named Bags": true,
  "Log Naughty Bags Attempts to Console": true,
  "Naughty Word Filter": [
    "word1",
    "word2",
    "etc.."
  ]
}
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.